mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00: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;
|
||||
|
||||
cleanup:
|
||||
virBitmapFree(migEvent);
|
||||
virJSONValueFree(json);
|
||||
virStringListFree(caps);
|
||||
return ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user