mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 828301 - Free zlib internal buffers when we're done uncompressing in the custom linker. r=nfroyd
This commit is contained in:
parent
827ceae1ff
commit
58eb7add29
@ -333,6 +333,8 @@ MappableDeflate::mmap(const void *addr, size_t length, int prot, int flags, off_
|
||||
void
|
||||
MappableDeflate::finalize()
|
||||
{
|
||||
/* Free zlib internal buffers */
|
||||
inflateEnd(&zStream);
|
||||
/* Free decompression buffer */
|
||||
buffer = NULL;
|
||||
/* Remove reference to Zip archive */
|
||||
|
Loading…
Reference in New Issue
Block a user