diff --git a/ChangeLog.txt b/ChangeLog.txt index bf6c09b238..c2d788b97c 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -10,6 +10,11 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ +2017-05-04 14:48 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + * src/compiler/hbcomp.c + ! restored protection against multiple free of the same expression + I removed by mistake in one of my recent commits. + 2017-05-03 09:10 UTC Viktor Szakats (vszakats users.noreply.github.com) * * * copyright name cleanups diff --git a/src/compiler/hbcomp.c b/src/compiler/hbcomp.c index 5dffd69dde..edf6baa342 100644 --- a/src/compiler/hbcomp.c +++ b/src/compiler/hbcomp.c @@ -82,6 +82,8 @@ static void hb_compExprDealloc( HB_COMP_DECL, PHB_EXPR pExpr ) } hb_xfree( pExpItm ); } + else + pExpr->ExprType = HB_ET_NONE; } static PHB_EXPR hb_compExprNew( HB_COMP_DECL, HB_EXPRTYPE iType )