From: Zeev Suraski Date: Sat, 22 May 1999 17:30:09 +0000 (+0000) Subject: I'm on a roll. Fix a nasty yet stupid AiCount bug X-Git-Tag: BEFORE_REMOVING_GC_STEP1~288 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84bb91d762db337f0ee59ba9a6c236bc6d56fc8b;p=php I'm on a roll. Fix a nasty yet stupid AiCount bug --- diff --git a/Zend/zend-parser.y b/Zend/zend-parser.y index 2e285ff734..838382a14d 100644 --- a/Zend/zend-parser.y +++ b/Zend/zend-parser.y @@ -356,7 +356,7 @@ echo_expr_list: for_expr: /* empty */ { $$.op_type = IS_CONST; $$.u.constant.type = IS_BOOL; $$.u.constant.value.lval = 1; } - | for_expr ',' expr { $$ = $3; } + | for_expr ',' { do_free(&$1 CLS_CC); } expr { $$ = $4; } | expr { $$ = $1; } ;