diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 02814ec5f9..540e74c5cc 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,11 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-04-19 12:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/contrib/hbmzip/zip.c + ! fixed GPF reported by Mario. + Please extensively test and ZLIB/MINIZIP related code. + 2010-04-17 23:02 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbslots.cpp % Slots disconnecting QTableWidget were improper, detected diff --git a/harbour/contrib/hbmzip/zip.c b/harbour/contrib/hbmzip/zip.c index 7b01ce18f0..16b692d703 100644 --- a/harbour/contrib/hbmzip/zip.c +++ b/harbour/contrib/hbmzip/zip.c @@ -1717,7 +1717,7 @@ extern int ZEXPORT zipCloseFileInZipRaw64 (zipFile file, ZPOS64_T uncompressed_s if (err==ZIP_OK) err = add_data_in_datablock(&zi->central_dir, zi->ci.central_header, (uLong)zi->ci.size_centralheader); - free(zi->ci.central_header); + TRYFREE(zi->ci.central_header); if (err==ZIP_OK) {