2007-05-15 15:40 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/source/compiler/gencobj.c
! fixed unrecoverable error "hb_xfree called with an invalid pointer"
related to HB_CFG_FILE implementation
This commit is contained in:
@@ -129,7 +129,8 @@ void hb_compGenCObj( HB_COMP_DECL, PHB_FNAME pFileName )
|
||||
|
||||
if( !pszCfgFileName )
|
||||
{
|
||||
pszCfgFileName = HB_CFG_FILENAME;
|
||||
pszCfgFileName = ( char * ) hb_xgrab( strlen( HB_CFG_FILENAME ) + 1 );
|
||||
strcpy( pszCfgFileName, HB_CFG_FILENAME );
|
||||
}
|
||||
|
||||
if( pszEnv && *hb_searchpath( pszCfgFileName, pszEnv, pszTemp ) )
|
||||
|
||||
Reference in New Issue
Block a user