render / rpms / libvirt

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