qemu: Fix qemuDomainModifyDeviceFlags leaking the caps bitmap

This commit is contained in:
Matthias Bolte 2011-04-30 12:07:39 +02:00
parent 9d50b323a9
commit feecc9f395

View File

@ -4316,6 +4316,7 @@ endjob:
vm = NULL; vm = NULL;
cleanup: cleanup:
qemuCapsFree(qemuCaps);
virDomainDefFree(vmdef); virDomainDefFree(vmdef);
virDomainDeviceDefFree(dev); virDomainDeviceDefFree(dev);
if (vm) if (vm)