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



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

    glocalfile: Cleanup global data

 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]