From a5ff42c7d3d15b9cecfd01464ee27486ef046c3b Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 11 Nov 1999 00:39:04 +0000 Subject: [PATCH] 19991111-01:18 GMT+1 Victor Szel --- harbour/source/rtl/fm.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/harbour/source/rtl/fm.c b/harbour/source/rtl/fm.c index a9cb90c52c..bb52086e10 100644 --- a/harbour/source/rtl/fm.c +++ b/harbour/source/rtl/fm.c @@ -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 );