2007-02-11 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-page-cache.c: (ev_page_cache_finalize):
Fix invalid free in ev-page-cache. Fixes bug #404745.
svn path=/trunk/; revision=2313
+2007-02-11 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-page-cache.c: (ev_page_cache_finalize):
+
+ Fix invalid free in ev-page-cache. Fixes bug #404745.
+
2007-02-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* test/Makefile.am:
}
if (page_cache->page_labels) {
- g_strfreev (page_cache->page_labels);
+ gint i;
+
+ for (i = 0; i < page_cache->n_pages; i++) {
+ if (page_cache->page_labels[i])
+ g_free (page_cache->page_labels[i]);
+ }
+ g_free (page_cache->page_labels);
page_cache->page_labels = NULL;
}