diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2008-09-28 16:55:36 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2008-09-28 16:55:36 (GMT) |
commit | 5ecba587abf52861a6283db328a87d240cd751ce (patch) | |
tree | a4fc64691eca75be15a89ac7ae4ecb6aea780150 /backend | |
parent | bde3246a3883c9a3435af1d59c88cc6d8e0b47de (diff) |
Fix memory leak.
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
Diffstat (limited to 'backend')
-rw-r--r-- | backend/dvi/dvi-document.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/dvi/dvi-document.c b/backend/dvi/dvi-document.c index 41274f9..87bf46a 100644 --- a/backend/dvi/dvi-document.c +++ b/backend/dvi/dvi-document.c @@ -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, |