aboutsummaryrefslogtreecommitdiff
path: root/hw/acpi/memory_hotplug.c
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>2024-06-27 19:25:07 +0300
committerMichael Tokarev <mjt@tls.msk.ru>2024-06-30 19:51:44 +0300
commitf22855dffdbc2906f744b5bcfea869cbb66b8fb2 (patch)
treecb030661381f78194e9c3134daa41e658c31868a /hw/acpi/memory_hotplug.c
parent412d294ffdc63b56c0e512351ecc01d3a9b90d68 (diff)
downloadqemu-f22855dffdbc2906f744b5bcfea869cbb66b8fb2.zip
qemu-f22855dffdbc2906f744b5bcfea869cbb66b8fb2.tar.gz
qemu-f22855dffdbc2906f744b5bcfea869cbb66b8fb2.tar.bz2
hw/core/loader: gunzip(): fix memory leak on error path
We should call inflateEnd() like on success path to cleanup state in s variable. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> Reviewed-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/acpi/memory_hotplug.c')
0 files changed, 0 insertions, 0 deletions