From: Carlos Garcia Campos Date: Sun, 28 Sep 2008 16:55:36 +0000 (+0000) Subject: Fix memory leak. X-Git-Tag: EVINCE_2_24_1~18 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=5ecba587abf52861a6283db328a87d240cd751ce;p=evince.git Fix memory leak. 2008-09-28 Carlos Garcia Campos * backend/dvi/dvi-document.c: (dvi_document_load): Fix memory leak. svn path=/trunk/; revision=3209 --- diff --git a/ChangeLog b/ChangeLog index 5d2cd889..22f51f78 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-09-28 Carlos Garcia Campos + + * backend/dvi/dvi-document.c: (dvi_document_load): + + Fix memory leak. + 2008-09-28 Carlos Garcia Campos * backend/dvi/dvi-document.c: diff --git a/backend/dvi/dvi-document.c b/backend/dvi/dvi-document.c index 41274f9f..87bf46a9 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,