mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 14:57:42 +00:00
qemu: remove capabilities.monitor.sock when done
Prompted by http://bugs.debian.org/761131
This commit is contained in:
parent
e029088802
commit
9e159b521d
@ -3306,6 +3306,8 @@ virQEMUCapsInitQMP(virQEMUCapsPtr qemuCaps,
|
|||||||
virCommandAbort(cmd);
|
virCommandAbort(cmd);
|
||||||
virCommandFree(cmd);
|
virCommandFree(cmd);
|
||||||
VIR_FREE(monarg);
|
VIR_FREE(monarg);
|
||||||
|
if (monpath)
|
||||||
|
ignore_value(unlink(monpath));
|
||||||
VIR_FREE(monpath);
|
VIR_FREE(monpath);
|
||||||
virObjectUnref(vm);
|
virObjectUnref(vm);
|
||||||
virObjectUnref(xmlopt);
|
virObjectUnref(xmlopt);
|
||||||
|
Loading…
Reference in New Issue
Block a user