qemu: remove capabilities.monitor.sock when done

Prompted by

   http://bugs.debian.org/761131
This commit is contained in:
Guido Günther 2014-09-25 10:30:58 +02:00
parent e029088802
commit 9e159b521d

View File

@ -3306,6 +3306,8 @@ virQEMUCapsInitQMP(virQEMUCapsPtr qemuCaps,
virCommandAbort(cmd);
virCommandFree(cmd);
VIR_FREE(monarg);
if (monpath)
ignore_value(unlink(monpath));
VIR_FREE(monpath);
virObjectUnref(vm);
virObjectUnref(xmlopt);