From 463022cc09c3ebab18c4d3a6f2f80752339dc5f0 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Fri, 26 Apr 2013 17:07:41 -0400 Subject: [PATCH] bytesicon: fix a memory leak https://bugzilla.gnome.org/show_bug.cgi?id=698999 --- gio/gbytesicon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gio/gbytesicon.c b/gio/gbytesicon.c index 97b68aab5..dc0932ad1 100644 --- a/gio/gbytesicon.c +++ b/gio/gbytesicon.c @@ -238,6 +238,7 @@ g_bytes_icon_load_async (GLoadableIcon *icon, task = g_task_new (icon, cancellable, callback, user_data); g_task_return_pointer (task, g_memory_input_stream_new_from_bytes (bytes_icon->bytes), g_object_unref); + g_object_unref (task); } static GInputStream *