]> Pileus Git - ~andy/gtk/commitdiff
Don't leak a GFile
authorMatthias Clasen <matthiasc@src.gnome.org>
Sun, 21 Sep 2008 05:21:00 +0000 (05:21 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sun, 21 Sep 2008 05:21:00 +0000 (05:21 +0000)
svn path=/trunk/; revision=21468

ChangeLog
gtk/gtkfilechooserbutton.c

index 5d3e3eb859e7f291d9bc0bc819b7960ed9360f48..3696e725580a989084c3968f4aead68432a213ab 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-20  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilechooserbutton.c (filter_model_visible_func): Don't
+       leak a GFile.
+
 2008-09-19  Owen Taylor  <otaylor@redhat.com>
 
        Small cleanups to debug messages for GtkPlug/GtkSocket
index 61ac369cc714387c552f85824ac7b7cc38ad6abd..6fdd9ae24eb2f4191af57fb4f3bf8bc50ef75aa2 100644 (file)
@@ -2106,6 +2106,7 @@ filter_model_visible_func (GtkTreeModel *model,
                  {
                    if (!g_file_is_native (base_file))
                      retval = FALSE;
+                    g_object_unref (base_file);
                  }
                else
                  retval = FALSE;