From: Jiri Denemark Date: Mon, 22 Jul 2013 12:56:21 +0000 (+0200) Subject: tests: Free test at the end of GetDeviceAliases JSON test X-Git-Tag: v1.1.1-rc1~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9150d3747e8e5d6775e3ce5a43c7f7f3e5ba8fc;p=thirdparty%2Flibvirt.git tests: Free test at the end of GetDeviceAliases JSON test Commit 58b147ad07c9432b53e66ca20aff74d812647c57 added a test for qemuMonitorGetDeviceAliases but forgot to free the test object at the end which causes all sort of weird errors and failures when new tests are added after the GetDeviceAliases. --- diff --git a/tests/qemumonitorjsontest.c b/tests/qemumonitorjsontest.c index 4061a0cba9..9e66059489 100644 --- a/tests/qemumonitorjsontest.c +++ b/tests/qemumonitorjsontest.c @@ -938,6 +938,7 @@ testQemuMonitorJSONGetDeviceAliases(const void *data) cleanup: virStringFreeList(aliases); + qemuMonitorTestFree(test); return ret; }