[anjuta] file maanger plugin: fix leak for file



commit 37cc6b2663dcc191da1469eb496b478393a67d71
Author: Alban Browaeys <prahal yahoo com>
Date:   Wed Jul 6 02:03:02 2011 +0200

    file maanger plugin: fix leak for file

 plugins/file-manager/file-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/file-manager/file-view.c b/plugins/file-manager/file-view.c
index 60d19d0..18fa193 100644
--- a/plugins/file-manager/file-view.c
+++ b/plugins/file-manager/file-view.c
@@ -364,6 +364,7 @@ file_view_show_extended_data (AnjutaFileView* view, GtkTreeIter* iter)
 									   G_FILE_QUERY_INFO_NONE,
 									   NULL, NULL);
 		time = g_file_info_get_attribute_uint64(file_info, "time::changed");
+		g_object_unref (file);
 		strftime(time_str, 127, "%x %X", localtime(&time));
 		if (get_status_string(status))
 		{



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