* src/gzip/ftgzip.c (ft_gzip_file_done): fixed memory leak, the ZLib

stream was not properly finalized
This commit is contained in:
David Turner 2003-02-28 08:32:46 +00:00
parent 7e6b31ea44
commit 7a50e76417
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-02-28 Pixel <pixel@mandrakesoft.com>
* src/gzip/ftgzip.c (ft_gzip_file_done): fixed memory leak, the ZLib
stream was not properly finalized
2003-02-25 Anthony Fok <anthony@thizlinux.com>
* src/cache/ftccmap.c: the cmap cache now supports UCS-4 charmaps

View File

@ -276,6 +276,8 @@
{
z_stream* zstream = &zip->zstream;
inflateEnd( zstream );
/* clear the rest */
zstream->zalloc = NULL;
zstream->zfree = NULL;