bytesicon: fix a memory leak

https://bugzilla.gnome.org/show_bug.cgi?id=698999
This commit is contained in:
Cosimo Cecchi 2013-04-26 17:07:41 -04:00
parent 518e3104bf
commit 463022cc09

View File

@ -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 *