diff options
author | Pierrick Charron <pierrick@php.net> | 2012-12-29 23:11:37 -0500 |
---|---|---|
committer | Pierrick Charron <pierrick@php.net> | 2012-12-29 23:11:37 -0500 |
commit | 8228597ecce3ad868d2c6bfca5ff43f29e014296 (patch) | |
tree | 7e21bdd3fc98c760940e2fbeefa9cd358e8a30ee /Zend | |
parent | f8a9a47e8cde62a082a54371c08eedb4c1366b77 (diff) | |
download | php-git-8228597ecce3ad868d2c6bfca5ff43f29e014296.tar.gz |
Fixed bug #63874 (Segfaul if php_strip_whitespace has heredoc)
T_END_HEREDOC don't carry a token value anymore since commit 4cf90e06c
Bugfix by Nikita for bug #60097
Diffstat (limited to 'Zend')
-rw-r--r-- | Zend/zend_highlight.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Zend/zend_highlight.c b/Zend/zend_highlight.c index 938e1c612b..7fe6174519 100644 --- a/Zend/zend_highlight.c +++ b/Zend/zend_highlight.c @@ -186,7 +186,6 @@ ZEND_API void zend_strip(TSRMLS_D) case T_END_HEREDOC: zend_write((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); - efree(token.value.str.val); /* read the following character, either newline or ; */ if (lex_scan(&token TSRMLS_CC) != T_WHITESPACE) { zend_write((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); |