render / rpms / libvirt

Forked from rpms/libvirt 10 months ago
Clone
fbe740
From bae38a946b063c4c384ddfb22a0c04137c51d31c Mon Sep 17 00:00:00 2001
fbe740
Message-Id: <bae38a946b063c4c384ddfb22a0c04137c51d31c@dist-git>
fbe740
From: Peter Krempa <pkrempa@redhat.com>
fbe740
Date: Tue, 23 Jun 2020 12:24:11 +0200
fbe740
Subject: [PATCH] qemuBackupDiskDataCleanupOne: Free 'incrementalBitmap'
fbe740
MIME-Version: 1.0
fbe740
Content-Type: text/plain; charset=UTF-8
fbe740
Content-Transfer-Encoding: 8bit
fbe740
fbe740
The bitmap name used for the incremental backup would be leaked
fbe740
otherwise.
fbe740
fbe740
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
fbe740
Reviewed-by: Ján Tomko <jtomko@redhat.com>
fbe740
(cherry picked from commit d55b0811ff9968eafa8d9ed394a365659fa6e0c5)
fbe740
https://bugzilla.redhat.com/show_bug.cgi?id=1804593
fbe740
Message-Id: <fa62b553a1eff375ff1491a51a7db0918c5b89c3.1592906423.git.pkrempa@redhat.com>
fbe740
Reviewed-by: Ján Tomko <jtomko@redhat.com>
fbe740
---
fbe740
 src/qemu/qemu_backup.c | 1 +
fbe740
 1 file changed, 1 insertion(+)
fbe740
fbe740
diff --git a/src/qemu/qemu_backup.c b/src/qemu/qemu_backup.c
fbe740
index c68227f029..5c403f8f35 100644
fbe740
--- a/src/qemu/qemu_backup.c
fbe740
+++ b/src/qemu/qemu_backup.c
fbe740
@@ -148,6 +148,7 @@ qemuBackupDiskDataCleanupOne(virDomainObjPtr vm,
fbe740
 
fbe740
     qemuBlockStorageSourceChainDataFree(dd->crdata);
fbe740
     virObjectUnref(dd->terminator);
fbe740
+    g_free(dd->incrementalBitmap);
fbe740
 }
fbe740
 
fbe740
 
fbe740
-- 
fbe740
2.27.0
fbe740