Skip to content

Commit

Permalink
Fix C build
Browse files Browse the repository at this point in the history
  • Loading branch information
zsuraski committed Aug 19, 2000
1 parent 7a45e3c commit 595ca6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Zend/zend-scanner.l
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 595ca6b

Please sign in to comment.