r17172 - gnucash/trunk/src/app-utils - Fix memory leak

Phil Longstaff plongstaff at cvs.gnucash.org
Sun May 25 18:06:36 EDT 2008


Author: plongstaff
Date: 2008-05-25 18:06:36 -0400 (Sun, 25 May 2008)
New Revision: 17172
Trac: http://svn.gnucash.org/trac/changeset/17172

Modified:
   gnucash/trunk/src/app-utils/file-utils.c
Log:
Fix memory leak



Modified: gnucash/trunk/src/app-utils/file-utils.c
===================================================================
--- gnucash/trunk/src/app-utils/file-utils.c	2008-05-24 19:38:23 UTC (rev 17171)
+++ gnucash/trunk/src/app-utils/file-utils.c	2008-05-25 22:06:36 UTC (rev 17172)
@@ -291,6 +291,7 @@
       g_free(file_guid);
       break;
     }
+	g_free(file_guid);
 
     /* Handle the case where gnucash was updated first, and is trying
      * to find new key names in an old state files. */



More information about the gnucash-changes mailing list