]> www.fi.muni.cz Git - evince.git/commitdiff
Fix memory leak.
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 28 Sep 2008 16:55:36 +0000 (16:55 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Sun, 28 Sep 2008 16:55:36 +0000 (16:55 +0000)
2008-09-28  Carlos Garcia Campos  <carlosgc@gnome.org>

* backend/dvi/dvi-document.c: (dvi_document_load):

Fix memory leak.

svn path=/trunk/; revision=3209

ChangeLog
backend/dvi/dvi-document.c

index 5d2cd88924493c44a23fcf0096d19807ac598377..22f51f7838430dbf41555301c178c5c5a5ed7184 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-09-28  Carlos Garcia Campos  <carlosgc@gnome.org>
+
+       * backend/dvi/dvi-document.c: (dvi_document_load):
+
+       Fix memory leak.
+       
 2008-09-28  Carlos Garcia Campos  <carlosgc@gnome.org>
 
        * backend/dvi/dvi-document.c:
index 41274f9fc6471cbd91525e53701cecc07ea653b3..87bf46a910a7a394a486978e73e50ee78c82fdb8 100644 (file)
@@ -101,6 +101,7 @@ dvi_document_load (EvDocument  *document,
 
        dvi_document->context = mdvi_init_context(dvi_document->params, dvi_document->spec, filename);
        g_mutex_unlock (dvi_context_mutex);
+       g_free (filename);
        
        if (!dvi_document->context) {
                g_set_error (error,