mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
cbd0726200
commit
a2772eece8
@ -131,7 +131,7 @@ gnc_price_cell_direct_update (BasicCell *bcell,
|
||||
memset(buf, 0, strlen(bcell->value)+1);
|
||||
g_utf8_strncpy(buf, bcell->value, start);
|
||||
g_string_append(newval_gs, buf);
|
||||
g_free(buf);
|
||||
free(buf);
|
||||
|
||||
g_string_append_unichar(newval_gs, decimal_point);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user