[glib] Bug 657206 — GInputStream leaked in g_file_icon_load_async()
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Bug 657206 — GInputStream leaked in g_file_icon_load_async()
- Date: Wed, 24 Aug 2011 06:55:37 +0000 (UTC)
commit ff0cf7b681a2aac3b0f4b5608c8500db969ad4b7
Author: Philip Withnall <philip tecnocode co uk>
Date: Tue Aug 23 23:47:54 2011 +0100
Bug 657206 â GInputStream leaked in g_file_icon_load_async()
Add a missing unref to g_file_icon_load_async().
Closes: bgo#657206
gio/gfileicon.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gio/gfileicon.c b/gio/gfileicon.c
index 74d75b8..cba928f 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]