mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-20 11:48:30 -06:00
Use free instead of g_free for malloc'd pointer.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5867 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
0609f2a443
commit
b872a53138
@ -44,7 +44,7 @@ gnc_scm_to_kvp_value_ptr(SCM val)
|
||||
kvp_value *ret;
|
||||
newstr = gh_scm2newstr(val, NULL);
|
||||
ret = kvp_value_new_string(newstr);
|
||||
g_free(newstr);
|
||||
free(newstr);
|
||||
return ret;
|
||||
}
|
||||
/* FIXME: add binary handler here when it's figured out */
|
||||
|
Loading…
Reference in New Issue
Block a user