[glib/wip/gcleanup: 51/78] glocalfile: Cleanup global data



commit 5ecaa1c025e353eed08854e90c582e86b1a9d42f
Author: Stef Walter <stefw gnome org>
Date:   Thu Nov 7 23:00:53 2013 +0100

    glocalfile: Cleanup global data
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711799

 gio/glocalfile.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gio/glocalfile.c b/gio/glocalfile.c
index b9bec8a..3c86923 100644
--- a/gio/glocalfile.c
+++ b/gio/glocalfile.c
@@ -186,6 +186,7 @@ g_local_file_class_init (GLocalFileClass *klass)
 #endif
 
   local_writable_attributes = list;
+  G_CLEANUP (local_writable_attributes, g_file_attribute_info_list_unref);
 }
 
 static void


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