diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 75b6cbc4be..4d4ed71d94 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ +2007-07-24 14:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/debug/dbgentry.c + ! cleaned memory leak in not freed trap on debugger exit + 2007-07-20 18:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/Makefile * harbour/contrib/libct/makefile.bc diff --git a/harbour/source/debug/dbgentry.c b/harbour/source/debug/dbgentry.c index b837249ae8..a7931ee0c5 100644 --- a/harbour/source/debug/dbgentry.c +++ b/harbour/source/debug/dbgentry.c @@ -1472,6 +1472,11 @@ hb_dbgQuit( HB_DEBUGINFO *info ) } ARRAY_DEL( HB_MODULEINFO, info->aModules, info->nModules, nModules ); } + if ( info->bToCursor ) + { + info->bToCursor = FALSE; + FREE( info->szToCursorModule ); + } }