evince r3451 - in trunk: . backend/impress
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: evince r3451 - in trunk: . backend/impress
- Date: Sun, 15 Feb 2009 13:52:45 +0000 (UTC)
Author: chpe
Date: Sun Feb 15 13:52:45 2009
New Revision: 3451
URL: http://svn.gnome.org/viewvc/evince?rev=3451&view=rev
Log:
* backend/impress/impress-document.c: (impress_document_load): Plug a
mem leak.
Modified:
trunk/ChangeLog
trunk/backend/impress/impress-document.c
Modified: trunk/backend/impress/impress-document.c
==============================================================================
--- trunk/backend/impress/impress-document.c (original)
+++ trunk/backend/impress/impress-document.c Sun Feb 15 13:52:45 2009
@@ -293,6 +293,7 @@
return FALSE;
imp = imp_open (filename, &err);
+ g_free (filename);
if (!imp)
{
@@ -300,7 +301,6 @@
EV_DOCUMENT_ERROR,
EV_DOCUMENT_ERROR_INVALID,
_("Invalid document"));
- g_free (filename);
return FALSE;
}
impress_document->imp = imp;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]