From: Zeev Suraski Date: Sat, 19 Aug 2000 18:05:15 +0000 (+0000) Subject: Fix C build X-Git-Tag: php-4.0.2RC1~55 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=595ca6b588d766a1464a112cbce5d0791952ed55;p=php Fix C build --- diff --git a/Zend/zend-scanner.l b/Zend/zend-scanner.l index 1235d5237b..4f557b93d8 100644 --- a/Zend/zend-scanner.l +++ b/Zend/zend-scanner.l @@ -490,7 +490,9 @@ zend_op_array *compile_string(zval *source_string CLS_DC) retval = op_array; } } +#ifdef ZTS delete input_stream; +#endif zval_dtor(&tmp); CG(in_compilation) = original_in_compilation; return retval; @@ -539,7 +541,9 @@ int highlight_string(zval *str, zend_syntax_highlighter_ini *syntax_highlighter_ } zend_highlight(syntax_highlighter_ini); restore_lexical_state(&original_lex_state CLS_CC); +#ifdef ZTS delete input_stream; +#endif zval_dtor(str); return SUCCESS; }