summaryrefslogtreecommitdiff
path: root/gtk/gtkplacesview.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-11-17 13:50:25 -0500
committerMatthias Clasen <mclasen@redhat.com>2016-11-17 13:50:25 -0500
commit214eb5860db6fb95bb806a46350cb7dbca93c81f (patch)
treef080c76f8e5af3d2e423d912ec1e2f7f2258171b /gtk/gtkplacesview.c
parent0cec768b5486e94321fd9c4dfffc1194b0484c5c (diff)
downloadgtk+-214eb5860db6fb95bb806a46350cb7dbca93c81f.tar.gz
placeview: Don't leak the file enumerator
Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774634
Diffstat (limited to 'gtk/gtkplacesview.c')
-rw-r--r--gtk/gtkplacesview.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c
index 17ed7bd306..ceee750d11 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);
}
}