diff --git a/harbour/ChangeLog b/harbour/ChangeLog index da79f45cef..f111545b89 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,12 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-10-09 10:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/compiler/hbmain.c + ! fixed unnecessary hb_xfree() call when given @.clp file + does not exist. Thanks to Jose Luis Capel for information about + the problem. + 2009-10-08 16:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfnsx/dbfnsx1.c diff --git a/harbour/source/compiler/hbmain.c b/harbour/source/compiler/hbmain.c index e822b8c67d..bfd5139e98 100644 --- a/harbour/source/compiler/hbmain.c +++ b/harbour/source/compiler/hbmain.c @@ -4055,7 +4055,7 @@ static int hb_compCompile( HB_COMP_DECL, const char * szPrg, const char * szBuff pModule = pModule->pNext; } - if( HB_COMP_PARAM->pFileName != pFileName ) + if( pFileName && HB_COMP_PARAM->pFileName != pFileName ) hb_xfree( pFileName ); if( !HB_COMP_PARAM->fExit && iStatus == EXIT_SUCCESS )