From 7bbbef5fdee994e08c39e3b9e6b5ba831b22229f Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Mon, 2 Nov 2020 09:25:04 +1300 Subject: 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 --- panels/printers/pp-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1