r20663 - gnucash/trunk/src/gnome - Correct memory leak found with Valgrind.

J. Alex Aycinena alex.aycinena at code.gnucash.org
Thu May 19 19:20:24 EDT 2011


Author: alex.aycinena
Date: 2011-05-19 19:20:23 -0400 (Thu, 19 May 2011)
New Revision: 20663
Trac: http://svn.gnucash.org/trac/changeset/20663

Modified:
   gnucash/trunk/src/gnome/dialog-tax-info.c
Log:
Correct memory leak found with Valgrind.

Modified: gnucash/trunk/src/gnome/dialog-tax-info.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-tax-info.c	2011-05-19 17:22:58 UTC (rev 20662)
+++ gnucash/trunk/src/gnome/dialog-tax-info.c	2011-05-19 23:20:23 UTC (rev 20663)
@@ -1496,6 +1496,7 @@
         gint position = gnc_gconf_get_int(GCONF_SECTION, PANED_POSITION, NULL);
         gtk_paned_set_position(GTK_PANED(paned), position);
     }
+    g_object_unref (xml);
 }
 
 static void



More information about the gnucash-changes mailing list