[PATCH 5/5] qemuBackupDiskDataCleanupOne: Free 'incrementalBitmap'

Peter Krempa pkrempa at redhat.com
Tue Jun 23 06:03:14 UTC 2020


The bitmap name used for the incremental backup would be leaked
otherwise.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 src/qemu/qemu_backup.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/qemu/qemu_backup.c b/src/qemu/qemu_backup.c
index 3bd59402dc..8dc9d2504d 100644
--- a/src/qemu/qemu_backup.c
+++ b/src/qemu/qemu_backup.c
@@ -148,6 +148,7 @@ qemuBackupDiskDataCleanupOne(virDomainObjPtr vm,

     qemuBlockStorageSourceChainDataFree(dd->crdata);
     virObjectUnref(dd->terminator);
+    g_free(dd->incrementalBitmap);
 }


-- 
2.26.2




More information about the libvir-list mailing list