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:
Dave Peticolas 2001-11-16 00:40:23 +00:00
parent 0609f2a443
commit b872a53138

View File

@ -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 */