diff --git a/ChangeLog b/ChangeLog index 2bf5efb5b..8c2c416e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-02-28 Pixel + + * src/gzip/ftgzip.c (ft_gzip_file_done): fixed memory leak, the ZLib + stream was not properly finalized + 2003-02-25 Anthony Fok * src/cache/ftccmap.c: the cmap cache now supports UCS-4 charmaps diff --git a/src/gzip/ftgzip.c b/src/gzip/ftgzip.c index 32c938cbf..45f934b19 100644 --- a/src/gzip/ftgzip.c +++ b/src/gzip/ftgzip.c @@ -276,6 +276,8 @@ { z_stream* zstream = &zip->zstream; + inflateEnd( zstream ); + /* clear the rest */ zstream->zalloc = NULL; zstream->zfree = NULL;