19991111-01:18 GMT+1 Victor Szel <info@szelvesz.hu>

This commit is contained in:
Viktor Szakats
1999-11-11 00:39:04 +00:00
parent 29b6137871
commit a5ff42c7d3

View File

@@ -57,7 +57,7 @@
about several statistical data about memory management, it will show
these on exit if memory seem to have leaked.
This should be normally turned off in a final release */
#define HB_FM_STATISTICS
//#define HB_FM_STATISTICS
/* NOTE: The following #include "hbwinapi.h" must
be ahead of any other #include statements! */
@@ -341,9 +341,7 @@ void hb_xfree( void * pMem ) /* frees fixed memory */
HB_TRACE(HB_TR_DEBUG, ("hb_xfree(%p)", pMem));
if( pMem )
{
free( ( char * ) pMem - sizeof( ULONG ) - sizeof( ULONG ) );
}
free( ( char * ) pMem );
else
hb_errInternal( 9999, "hb_xfree called with a NULL pointer", NULL, NULL );