summaryrefslogtreecommitdiff
path: root/gio/gfileicon.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2011-08-23 23:47:54 +0100
committerPhilip Withnall <philip@tecnocode.co.uk>2011-08-24 07:54:29 +0100
commitff0cf7b681a2aac3b0f4b5608c8500db969ad4b7 (patch)
treec09632f13bc062294653486ac17bcc822b2ab1f7 /gio/gfileicon.c
parent30d9636df24000812179f6910cf5c4c3de23cdcd (diff)
downloadglib-ff0cf7b681a2aac3b0f4b5608c8500db969ad4b7.tar.gz
Bug 657206 — GInputStream leaked in g_file_icon_load_async()
Add a missing unref to g_file_icon_load_async(). Closes: bgo#657206
Diffstat (limited to 'gio/gfileicon.c')
-rw-r--r--gio/gfileicon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gio/gfileicon.c b/gio/gfileicon.c
index 74d75b805..cba928f00 100644
--- a/gio/gfileicon.c
+++ b/gio/gfileicon.c
@@ -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