From bae38a946b063c4c384ddfb22a0c04137c51d31c Mon Sep 17 00:00:00 2001 Message-Id: From: Peter Krempa Date: Tue, 23 Jun 2020 12:24:11 +0200 Subject: [PATCH] qemuBackupDiskDataCleanupOne: Free 'incrementalBitmap' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bitmap name used for the incremental backup would be leaked otherwise. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko (cherry picked from commit d55b0811ff9968eafa8d9ed394a365659fa6e0c5) https://bugzilla.redhat.com/show_bug.cgi?id=1804593 Message-Id: Reviewed-by: Ján Tomko --- 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 c68227f029..5c403f8f35 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.27.0