summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2020-11-02 09:25:04 +1300
committerRobert Ancell <robert.ancell@canonical.com>2020-11-02 09:25:04 +1300
commit7bbbef5fdee994e08c39e3b9e6b5ba831b22229f (patch)
tree9a0c3f2d76bc06b506e15117acc5938380960f11
parentf98ed29163a578a5da3ebf7787537b04a85588e0 (diff)
downloadgnome-control-center-7bbbef5fdee994e08c39e3b9e6b5ba831b22229f.tar.gz
printers: Fix autoptr object not being initialized to NULL.
Won't cause a problem in this case but should be done for safety. Introduced in ad226b420c656a055602136ff1feaa6ba919d039
-rw-r--r--panels/printers/pp-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/panels/printers/pp-utils.c b/panels/printers/pp-utils.c
index ca849bc2b..8dc86f057 100644
--- a/panels/printers/pp-utils.c
+++ b/panels/printers/pp-utils.c
@@ -2710,7 +2710,7 @@ get_all_ppds_async (GCancellable *cancellable,
gpointer user_data)
{
GAPData *data;
- g_autoptr(GThread) thread;
+ g_autoptr(GThread) thread = NULL;
g_autoptr(GError) error = NULL;
data = g_new0 (GAPData, 1);