tests: fix leaks in storagevolxml2argvtest

Reported by John Ferlan.
This commit is contained in:
Ján Tomko 2013-02-27 10:11:52 +01:00
parent c69331b500
commit ecc17eb46d

View File

@ -89,6 +89,10 @@ cleanup:
virCommandFree(cmd); virCommandFree(cmd);
VIR_FREE(actualCmdline); VIR_FREE(actualCmdline);
VIR_FREE(expectedCmdline); VIR_FREE(expectedCmdline);
VIR_FREE(poolXmlData);
VIR_FREE(volXmlData);
VIR_FREE(inputvolXmlData);
virObjectUnref(conn);
return ret; return ret;
} }