nautilus r13568 - in trunk: . libnautilus-private



Author: alexl
Date: Tue Jan  8 08:07:43 2008
New Revision: 13568
URL: http://svn.gnome.org/viewvc/nautilus?rev=13568&view=rev

Log:
2008-01-08  Alexander Larsson  <alexl redhat com>

	* libnautilus-private/nautilus-thumbnails.c (get_file_mtime):
	Fix memleak.



Modified:
   trunk/ChangeLog
   trunk/libnautilus-private/nautilus-thumbnails.c

Modified: trunk/libnautilus-private/nautilus-thumbnails.c
==============================================================================
--- trunk/libnautilus-private/nautilus-thumbnails.c	(original)
+++ trunk/libnautilus-private/nautilus-thumbnails.c	Tue Jan  8 08:07:43 2008
@@ -130,6 +130,7 @@
 		*mtime = g_file_info_get_attribute_uint64 (info, G_FILE_ATTRIBUTE_TIME_MODIFIED);
 		g_object_unref (info);
 	}
+	g_object_unref (file);
 	
 	return TRUE;
 }



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