From: Peter Krempa Date: Tue, 23 Jun 2020 04:28:44 +0000 (+0200) Subject: qemuBackupDiskDataCleanupOne: Free 'incrementalBitmap' X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=d55b0811ff9968eafa8d9ed394a365659fa6e0c5;p=libvirt.git qemuBackupDiskDataCleanupOne: Free 'incrementalBitmap' The bitmap name used for the incremental backup would be leaked otherwise. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- 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); }