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
File | Mode | Size |
---|---|---|
arch_init.c | -rw-r--r-- | 1.7 KB |
async-teardown.c | -rw-r--r-- | 3.5 KB |
balloon.c | -rw-r--r-- | 3.1 KB |
bootdevice.c | -rw-r--r-- | 11.1 KB |
cpu-throttle.c | -rw-r--r-- | 4.0 KB |
cpu-timers.c | -rw-r--r-- | 7.9 KB |
cpus.c | -rw-r--r-- | 18.5 KB |
datadir.c | -rw-r--r-- | 2.9 KB |
device_tree.c | -rw-r--r-- | 18.2 KB |
dirtylimit.c | -rw-r--r-- | 16.9 KB |
dma-helpers.c | -rw-r--r-- | 9.7 KB |
globals.c | -rw-r--r-- | 2.5 KB |
ioport.c | -rw-r--r-- | 10.3 KB |
main.c | -rw-r--r-- | 1.5 KB |
memory.c | -rw-r--r-- | 114.7 KB |
memory_mapping.c | -rw-r--r-- | 11.2 KB |
meson.build | -rw-r--r-- | 748 bytes |
physmem.c | -rw-r--r-- | 115.1 KB |
qdev-monitor.c | -rw-r--r-- | 33.4 KB |
qemu-seccomp.c | -rw-r--r-- | 16.0 KB |
qtest.c | -rw-r--r-- | 28.0 KB |
rtc.c | -rw-r--r-- | 5.9 KB |
runstate-action.c | -rw-r--r-- | 1.2 KB |
runstate-hmp-cmds.c | -rw-r--r-- | 2.5 KB |
runstate.c | -rw-r--r-- | 25.5 KB |
tpm-hmp-cmds.c | -rw-r--r-- | 1.8 KB |
tpm.c | -rw-r--r-- | 5.3 KB |
trace-events | -rw-r--r-- | 2.7 KB |
trace.h | -rw-r--r-- | 32 bytes |
vl.c | -rw-r--r-- | 114.3 KB |
watchpoint.c | -rw-r--r-- | 6.8 KB |
Computing file changes ...