[glib/wip/gcleanup: 17/42] glocalfile: Cleanup global data



commit c7144072c3fc9fc0604394a1530fc0386d66b752
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]