Bug 657206 — GInputStream leaked in g_file_icon_load_async()
authorPhilip Withnall <philip@tecnocode.co.uk>
Tue, 23 Aug 2011 22:47:54 +0000 (23:47 +0100)
committerPhilip Withnall <philip@tecnocode.co.uk>
Wed, 24 Aug 2011 06:54:29 +0000 (07:54 +0100)
Add a missing unref to g_file_icon_load_async().

Closes: bgo#657206

gio/gfileicon.c

index 74d75b8..cba928f 100644 (file)
@@ -330,6 +330,7 @@ load_async_callback (GObject      *source_object,
   g_simple_async_result_complete (simple);
   
   load_data_free (data);
+  g_object_unref (simple);
 }
 
 static void