AUDIT: r20798 - gnucash/trunk/src/html - Fix report reload and options change that got broken by the previous
Geert Janssens
gjanssens at code.gnucash.org
Thu Jun 23 10:33:21 EDT 2011
Author: gjanssens
Date: 2011-06-23 10:33:20 -0400 (Thu, 23 Jun 2011)
New Revision: 20798
Trac: http://svn.gnucash.org/trac/changeset/20798
Modified:
gnucash/trunk/src/html/gnc-html-history.c
Log:
Fix report reload and options change that got broken by the previous
commit.
BP
Modified: gnucash/trunk/src/html/gnc-html-history.c
===================================================================
--- gnucash/trunk/src/html/gnc-html-history.c 2011-06-23 09:39:59 UTC (rev 20797)
+++ gnucash/trunk/src/html/gnc-html-history.c 2011-06-23 14:33:20 UTC (rev 20798)
@@ -286,7 +286,7 @@
{
gnc_html_history_node * rv = g_new0(gnc_html_history_node, 1);
- rv->type = type;
+ rv->type = g_strdup(type);
rv->location = g_strdup(location);
rv->label = g_strdup(label);
return rv;
@@ -302,6 +302,7 @@
{
/* free the url resources and cached text */
+ g_free(node->type);
g_free(node->location);
g_free(node->label);
More information about the gnucash-changes
mailing list