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

stream was not properly finalized
BRANCH-2-1-5
David Turner 22 years ago
parent 7e6b31ea44
commit 7a50e76417
  1. 5
      ChangeLog
  2. 2
      src/gzip/ftgzip.c

@ -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

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

Loading…
Cancel
Save