2008-01-25 15:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)

* harbour/source/compiler/hbmain.c
    ! fixed a few /w3 memory leaks
This commit is contained in:
Mindaugas Kavaliauskas
2008-01-25 13:20:48 +00:00
parent 49a0e3e484
commit 05b520ce9e
2 changed files with 15 additions and 3 deletions

View File

@@ -8,6 +8,10 @@
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2008-01-25 15:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/source/compiler/hbmain.c
! fixed a few /w3 memory leaks
2008-01-25 10:47 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* contrib/make_b32_all.bat
* contrib/make_vc_all.bat
@@ -130,7 +134,7 @@
symbols
2008-01-16 01:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
+ harbout/contrib/hbzlib
+ harbour/contrib/hbzlib
+ added support for zlib library and zip files (based on
minizip)
+ harbour/contrib/hbzlib/zconf.h
@@ -143,12 +147,12 @@
+ harbour/contrib/hbzlib/zip.c
+ harbour/contrib/hbzlib/unzip.c
+ minizip source files. Some fixes are applied to avoid compile
time warning and errors, see readme.txt for list
time warnings and errors, see readme.txt for list
; I've compiled with BCC only, please, check other compilers
+ harbour/contrib/hbzlib/hbzlib.c
+ zlib wrapper functions. Przemyslaw Czerpak is author of this code.
The file was posted to developers mailing list on 2007-05-17.
I think licence statments in the begining of file gives permission
I think licence statements in the begining of file gives permission
to include it into SVN.
* HB_UNCOMPRESSLEN() function added. Source copied from Przemyslaw's
email on 2008-01-10.

View File

@@ -4462,6 +4462,10 @@ void hb_compCompileEnd( HB_COMP_DECL )
{
PCOMDECLARED pDeclared = HB_COMP_PARAM->pReleaseDeclared;
HB_COMP_PARAM->pReleaseDeclared = pDeclared->pNext;
if( pDeclared->cParamTypes )
hb_xfree( ( void * ) pDeclared->cParamTypes );
if( pDeclared->pParamClasses )
hb_xfree( ( void * ) pDeclared->pParamClasses );
hb_xfree( ( void * ) pDeclared );
}
HB_COMP_PARAM->pFirstDeclared = HB_COMP_PARAM->pLastDeclared = NULL;
@@ -4474,6 +4478,10 @@ void hb_compCompileEnd( HB_COMP_DECL )
{
PCOMDECLARED pDeclared = pClass->pMethod;
pClass->pMethod = pDeclared->pNext;
if( pDeclared->cParamTypes )
hb_xfree( ( void * ) pDeclared->cParamTypes );
if( pDeclared->pParamClasses )
hb_xfree( ( void * ) pDeclared->pParamClasses );
hb_xfree( ( void * ) pDeclared );
}
hb_xfree( ( void * ) pClass );