diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> | 2024-06-27 19:25:07 +0300 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-06-30 19:51:44 +0300 |
commit | f22855dffdbc2906f744b5bcfea869cbb66b8fb2 (patch) | |
tree | cb030661381f78194e9c3134daa41e658c31868a /hw/cris | |
parent | 412d294ffdc63b56c0e512351ecc01d3a9b90d68 (diff) | |
download | qemu-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/cris')
0 files changed, 0 insertions, 0 deletions