Revision 1c5005c450928c77056621a561568cdea2ee24db authored by Philippe Mathieu-Daudé on 08 April 2024, 09:41:59 UTC, committed by Michael Tokarev on 10 April 2024, 17:32:12 UTC
AppleSMCData is allocated with g_new0() in applesmc_add_key():
release it with g_free().

Leaked since commit 1ddda5cd36 ("AppleSMC device emulation").

Cc: qemu-stable@nongnu.org
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2272
Reported-by: Zheyu Ma <zheyuma97@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20240408095217.57239-3-philmd@linaro.org>
(cherry picked from commit fc09ff2979defdcf8d00c2db94022d5d610e36ba)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
1 parent 6e7e387
History
File Mode Size
aarch64
arm
i386
loongarch64
mips
ppc
riscv
s390x
sparc64
tci
meson.build -rw-r--r-- 1.3 KB
optimize.c -rw-r--r-- 66.8 KB
region.c -rw-r--r-- 26.4 KB
tcg-common.c -rw-r--r-- 1.4 KB
tcg-internal.h -rw-r--r-- 3.6 KB
tcg-ldst.c.inc -rw-r--r-- 2.3 KB
tcg-op-gvec.c -rw-r--r-- 124.4 KB
tcg-op-ldst.c -rw-r--r-- 40.7 KB
tcg-op-vec.c -rw-r--r-- 22.8 KB
tcg-op.c -rw-r--r-- 102.1 KB
tcg-pool.c.inc -rw-r--r-- 5.3 KB
tcg.c -rw-r--r-- 205.6 KB
tci.c -rw-r--r-- 40.1 KB

back to top