projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
518e310
)
bytesicon: fix a memory leak
author
Cosimo Cecchi
<cosimoc@gnome.org>
Fri, 26 Apr 2013 21:07:41 +0000
(17:07 -0400)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Fri, 26 Apr 2013 21:08:06 +0000
(17:08 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=698999
gio/gbytesicon.c
patch
|
blob
|
history
diff --git
a/gio/gbytesicon.c
b/gio/gbytesicon.c
index
97b68aa
..
dc0932a
100644
(file)
--- 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 *