Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/impress/impress-document.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/impress/impress-document.c b/backend/impress/impress-document.c
index 19fb8e3..46c2cc9 100644
--- a/backend/impress/impress-document.c
+++ b/backend/impress/impress-document.c
@@ -293,6 +293,7 @@ impress_document_load (EvDocument *document,
return FALSE;
imp = imp_open (filename, &err);
+ g_free (filename);
if (!imp)
{
@@ -300,7 +301,6 @@ impress_document_load (EvDocument *document,
EV_DOCUMENT_ERROR,
EV_DOCUMENT_ERROR_INVALID,
_("Invalid document"));
- g_free (filename);
return FALSE;
}
impress_document->imp = imp;