evince r3222 - in trunk: . shell



Author: carlosgc
Date: Fri Oct 17 10:48:35 2008
New Revision: 3222
URL: http://svn.gnome.org/viewvc/evince?rev=3222&view=rev

Log:
2008-10-17  Carlos Garcia Campos  <carlosgc gnome org>

	* shell/ev-page-cache.c: (ev_page_cache_finalize):

	Fix memory leak.

Modified:
   trunk/ChangeLog
   trunk/shell/ev-page-cache.c

Modified: trunk/shell/ev-page-cache.c
==============================================================================
--- trunk/shell/ev-page-cache.c	(original)
+++ trunk/shell/ev-page-cache.c	Fri Oct 17 10:48:35 2008
@@ -134,6 +134,11 @@
 		page_cache->size_cache = NULL;
 	}
 
+	if (page_cache->thumbs_size_cache) {
+		g_free (page_cache->thumbs_size_cache);
+		page_cache->thumbs_size_cache = NULL;
+	}
+
 	if (page_cache->height_to_page) {
 		g_free (page_cache->height_to_page);
 		page_cache->height_to_page = NULL;



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