2008-07-10 20:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/source/vm/macro.c
    ! fixed RT error when invalid symbol string is precompiled
This commit is contained in:
Przemyslaw Czerpak
2008-07-10 18:59:47 +00:00
parent a5c4482fb0
commit ee2b31438d
2 changed files with 7 additions and 2 deletions

View File

@@ -8,6 +8,10 @@
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2008-07-10 20:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/macro.c
! fixed RT error when invalid symbol string is precompiled
2008-07-10 18:51 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net>
* contrib/hbbmcdx/bmdbfcdx.c
* contrib/hbbmcdx/hbbmcdx.h

View File

@@ -687,9 +687,10 @@ char * hb_macroTextSymbol( char *szString, ULONG ulLength, BOOL *pfNewString )
szResult[ ulLen ] = '\0';
}
}
else if( szResult != szString )
else
{
hb_xfree( szResult );
if( szResult != szString )
hb_xfree( szResult );
szResult = NULL;
}
}