[gnome-control-center/gnome-3-8] background: Fix memory leak in Pictures source



commit c9c28e04cb57b00b9e2787a74dc3f76d4f6059d7
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Oct 2 16:29:46 2013 +0200

    background: Fix memory leak in Pictures source
    
    The enumerator was never unref'ed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=709243

 panels/background/bg-pictures-source.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/background/bg-pictures-source.c b/panels/background/bg-pictures-source.c
index a1af10b..db8b9d7 100644
--- a/panels/background/bg-pictures-source.c
+++ b/panels/background/bg-pictures-source.c
@@ -441,6 +441,7 @@ dir_enum_async_ready (GObject      *source,
                                       priv->cancellable,
                                       file_info_async_ready,
                                       user_data);
+  g_object_unref (enumerator);
 }
 
 char *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]