[glib/wip/gcleanup: 82/106] glocalfile: Cleanup global data



commit 4293ea17d87a2b548ac975b19835392a61f72f8b
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]