[gtk+] placeview: Don't leak the file enumerator
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] placeview: Don't leak the file enumerator
- Date: Thu, 17 Nov 2016 18:54:55 +0000 (UTC)
commit 214eb5860db6fb95bb806a46350cb7dbca93c81f
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Nov 17 13:50:25 2016 -0500
placeview: Don't leak the file enumerator
Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774634
gtk/gtkplacesview.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c
index 17ed7bd..ceee750 100644
--- a/gtk/gtkplacesview.c
+++ b/gtk/gtkplacesview.c
@@ -1010,6 +1010,7 @@ network_enumeration_finished (GObject *source_object,
priv->networks_fetching_cancellable,
network_enumeration_next_files_finished,
user_data);
+ g_object_unref (enumerator);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]