* src/app-utils/test/test-scm-query-string.c -- fix a memory leak

in the test.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7865 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2003-01-21 03:07:14 +00:00
parent dbe33ca873
commit d6a881c21a
2 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,9 @@
thought the LCM of 100,96875 was 3100, when it is really 387500,
because it was removing the factor of '5' too many times..
* src/app-utils/test/test-scm-query-string.c -- fix a memory leak
in the test.
2003-01-19 John Pierce <john@killterm.org>
* doc/Makefile.am

View File

@ -49,6 +49,7 @@ test_query (Query *q, SCM val2str)
{
success ("queries match");
}
if (q2) xaccFreeQuery (q2);
if (str) free (str);
}