mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
bytesicon: fix a memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=698999
This commit is contained in:
parent
518e3104bf
commit
463022cc09
@ -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 *
|
||||
|
Loading…
Reference in New Issue
Block a user