]> www.fi.muni.cz Git - evince.git/commitdiff
Fixes memory leak in djvu backend.
authorJustin Blanchard <justinb04@aim.com>
Wed, 15 Aug 2007 16:50:54 +0000 (16:50 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Wed, 15 Aug 2007 16:50:54 +0000 (16:50 +0000)
2007-08-15  Justin Blanchard  <justinb04@aim.com>

* backend/djvu/djvu-document.c: (djvu_document_finalize):

Fixes memory leak in djvu backend.

svn path=/trunk/; revision=2625

ChangeLog
backend/djvu/djvu-document.c

index 6268fcf2f87a03dde437ec1c2a90907f42146d2b..e34dc751c553a60f3b5b2c937e849d08e9e8301b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-08-15  Justin Blanchard  <justinb04@aim.com>
+
+       * backend/djvu/djvu-document.c: (djvu_document_finalize):
+       
+       Fixes memory leak in djvu backend.
+
 2007-08-15  Andreas Nilsson  <nisses.mail@home.se>
 
        * data/icons/32x32/Makefile.am:
index 9b4ba825950be307f54eb3eb359a0c38c013c2ef..046228dcfdab3062f5c51c50aa4b494a9d1e6efa 100644 (file)
@@ -289,6 +289,9 @@ djvu_document_finalize (GObject *object)
 {
        DjvuDocument *djvu_document = DJVU_DOCUMENT (object);
 
+       if (djvu_document->search)
+           djvu_text_free (djvu_document->search);
+
        if (djvu_document->d_document)
            ddjvu_document_release (djvu_document->d_document);