mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: free migEvent in qemuMigrationCapsCheck
We allocate a temporary bitmap but never free it. Introduced by <commit 1f8a1a9>: qemu: Do not use qemuMonitorSetMigrationCapability Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
f8c4868a52
commit
d9fcb4cfa1
@ -1343,6 +1343,7 @@ qemuMigrationCapsCheck(virQEMUDriverPtr driver,
|
|||||||
ret = 0;
|
ret = 0;
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
|
virBitmapFree(migEvent);
|
||||||
virJSONValueFree(json);
|
virJSONValueFree(json);
|
||||||
virStringListFree(caps);
|
virStringListFree(caps);
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user