Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-page-cache.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2008-10-17 10:48:35 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2008-10-17 10:48:35 (GMT)
commit5254174cfd6c6ce270022414147e540c79e08765 (patch)
tree9ecd2826cbbc0b226ccfaf3af1f5569b57df1f13 /shell/ev-page-cache.c
parentd4a83965dabe9de1a12cbc39b3dc95ee6124d18f (diff)
Fix memory leak.
2008-10-17 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-page-cache.c: (ev_page_cache_finalize): Fix memory leak. svn path=/trunk/; revision=3222
Diffstat (limited to 'shell/ev-page-cache.c')
-rw-r--r--shell/ev-page-cache.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/ev-page-cache.c b/shell/ev-page-cache.c
index a43876a..a8639ef 100644
--- a/shell/ev-page-cache.c
+++ b/shell/ev-page-cache.c
@@ -134,6 +134,11 @@ ev_page_cache_finalize (GObject *object)
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;