bugfix patches list: d677de remote: fix driver name check for libxl driver 075641 systemd: start libvirtd after firewalld iptables services 06fc99 qemuDomainCleanupRun: Actually run cleanup callbacks in reverse order 01626c virDevMapperGetTargetsImpl: quit early if device is not a devmapper target 006782 qemu: only stop external devices after the domain 42a415 qemuDomainStorageSourcePrivateDispose: Free httpcookie cc8c29 Don't require secdrivers to implement .domainMoveImageMetadata 0230e3 qemuProcessStop: Use XATTRs to restore seclabels on disks a domain is mirroring into 8fd274 qemuProcessStop: Reattach NVMe disks a domain is mirroring into 55029d security: don't fail if built without attr support a5a297 qemu: Skip pre creation of NVMe disks 2a372 Fix some wrong usage of ATTRIBUTE_NONNULL e728ff conf: Increase cpuset length limit for CPU pinning 8f58a4 virQEMUDriverConfigNew: Add slash to cfg defaultTLSx509certdir for non-embeded driver 1b22dd qemuDomainSetNumaParamsLive: set nodeset for root cgroup bdb8f2 qemu: do not add model when actual iface type is hostdev Signed-off-by: Jin Yan <jinyan12@huawei.com>
44 lines
1.9 KiB
Diff
44 lines
1.9 KiB
Diff
From 8263665d2003446a9b08181fdcc13b89397aae7d Mon Sep 17 00:00:00 2001
|
|
From: Michal Privoznik <mprivozn@redhat.com>
|
|
Date: Thu, 14 May 2020 10:47:42 +0200
|
|
Subject: [PATCH] qemuDomainStorageSourcePrivateDispose: Free httpcookie
|
|
|
|
==156803== 58 (40 direct, 18 indirect) bytes in 1 blocks are definitely lost in loss record 306 of 463
|
|
==156803== at 0x4839EC6: calloc (vg_replace_malloc.c:762)
|
|
==156803== by 0x5791AC0: g_malloc0 (in /usr/lib64/libglib-2.0.so.0.6400.1)
|
|
==156803== by 0x48F60DC: virAlloc (viralloc.c:48)
|
|
==156803== by 0x18DD74: qemuStorageSourcePrivateDataAssignSecinfo (qemu_domain.c:2384)
|
|
==156803== by 0x18DFD5: qemuStorageSourcePrivateDataParse (qemu_domain.c:2433)
|
|
==156803== by 0x49EC884: virDomainStorageSourceParse (domain_conf.c:9857)
|
|
==156803== by 0x49ECBA3: virDomainDiskBackingStoreParse (domain_conf.c:9909)
|
|
==156803== by 0x49F129D: virDomainDiskDefParseXML (domain_conf.c:10785)
|
|
==156803== by 0x4A1804E: virDomainDefParseXML (domain_conf.c:21543)
|
|
==156803== by 0x4A1B60C: virDomainObjParseXML (domain_conf.c:22254)
|
|
==156803== by 0x4A1BFE9: virDomainObjParseNode (domain_conf.c:22429)
|
|
==156803== by 0x4A1C0B4: virDomainObjParseFile (domain_conf.c:22443
|
|
|
|
cherry-pick from commit: 42a415d5a548d828c4b6bd42ad59dfc44b113fa9
|
|
|
|
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
|
|
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
|
|
Signed-off-by: Jin Yan <jinyan12@huawei.com>
|
|
---
|
|
src/qemu/qemu_domain.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
|
|
index 36bef67..91c1a49 100644
|
|
--- a/src/qemu/qemu_domain.c
|
|
+++ b/src/qemu/qemu_domain.c
|
|
@@ -1203,6 +1203,7 @@ qemuDomainStorageSourcePrivateDispose(void *obj)
|
|
|
|
g_clear_pointer(&priv->secinfo, qemuDomainSecretInfoFree);
|
|
g_clear_pointer(&priv->encinfo, qemuDomainSecretInfoFree);
|
|
+ g_clear_pointer(&priv->httpcookie, qemuDomainSecretInfoFree);
|
|
}
|
|
|
|
|
|
--
|
|
1.8.3.1
|
|
|