diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | shell/ev-view.c | 5 |
2 files changed, 12 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com> + * shell/ev-view.c: (ev_view_set_document): + + Release ref on the pixbuf cache when changing + document. + +2005-05-31 Marco Pesenti Gritti <mpg@redhat.com> + * ps/ps-document.c: (ps_document_get_info): Fix a double free diff --git a/shell/ev-view.c b/shell/ev-view.c index 45f5de0..5b81ce3 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -1944,6 +1944,11 @@ ev_view_set_document (EvView *view, } + if (view->pixbuf_cache) { + g_object_unref (view->pixbuf_cache); + view->pixbuf_cache = NULL; + } + view->document = document; view->find_page = 0; view->find_result = 0; |