mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
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);
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user