match malloc to free, not g_free.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13898 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Joshua Sled 2006-05-02 12:17:56 +00:00
parent cbd0726200
commit a2772eece8

View File

@ -131,7 +131,7 @@ gnc_price_cell_direct_update (BasicCell *bcell,
memset(buf, 0, strlen(bcell->value)+1); memset(buf, 0, strlen(bcell->value)+1);
g_utf8_strncpy(buf, bcell->value, start); g_utf8_strncpy(buf, bcell->value, start);
g_string_append(newval_gs, buf); g_string_append(newval_gs, buf);
g_free(buf); free(buf);
g_string_append_unichar(newval_gs, decimal_point); g_string_append_unichar(newval_gs, decimal_point);