mirror of https://gitee.com/openkylin/libvirt.git
tests: fix leaks in storagevolxml2argvtest
Reported by John Ferlan.
This commit is contained in:
parent
c69331b500
commit
ecc17eb46d
|
@ -89,6 +89,10 @@ cleanup:
|
|||
virCommandFree(cmd);
|
||||
VIR_FREE(actualCmdline);
|
||||
VIR_FREE(expectedCmdline);
|
||||
VIR_FREE(poolXmlData);
|
||||
VIR_FREE(volXmlData);
|
||||
VIR_FREE(inputvolXmlData);
|
||||
virObjectUnref(conn);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue