r18119 - gnucash/trunk/src/report/report-gnome - Clean up a few small memory leaks

Phil Longstaff plongstaff at code.gnucash.org
Tue Jun 9 19:02:36 EDT 2009


Author: plongstaff
Date: 2009-06-09 19:02:36 -0400 (Tue, 09 Jun 2009)
New Revision: 18119
Trac: http://svn.gnucash.org/trac/changeset/18119

Modified:
   gnucash/trunk/src/report/report-gnome/gnc-plugin-page-report.c
Log:
Clean up a few small memory leaks


Modified: gnucash/trunk/src/report/report-gnome/gnc-plugin-page-report.c
===================================================================
--- gnucash/trunk/src/report/report-gnome/gnc-plugin-page-report.c	2009-06-09 21:43:20 UTC (rev 18118)
+++ gnucash/trunk/src/report/report-gnome/gnc-plugin-page-report.c	2009-06-09 23:02:36 UTC (rev 18119)
@@ -360,6 +360,8 @@
                type ? type : "(null)", url_location ? url_location : "(null)",
                url_label ? url_label : "(null)" );
 
+		g_free(id_name);
+		g_free(child_name);
         gnc_window_set_progressbar_window( GNC_WINDOW(page->window) );
         gnc_html_show_url(priv->html, type, url_location, url_label, 0);
 		g_free(url_location);



More information about the gnucash-changes mailing list