diff options
author | Pierrick Charron <pierrick@php.net> | 2011-08-23 03:09:09 +0000 |
---|---|---|
committer | Pierrick Charron <pierrick@php.net> | 2011-08-23 03:09:09 +0000 |
commit | c27da034d054df28b610fbe55cecc708b0e46b98 (patch) | |
tree | cdda191a9f68741dff85cb36193d2619db0c1db2 | |
parent | dbf744ad784b364a268e197d9b6d644fd221b41b (diff) | |
download | php-git-c27da034d054df28b610fbe55cecc708b0e46b98.tar.gz |
Reapply the commit of revision 315259 on 5.3.9
-rw-r--r-- | Zend/zend_compile.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index ff61702261..11138570a5 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -5184,6 +5184,12 @@ void zend_do_begin_namespace(const znode *name, zend_bool with_bracket TSRMLS_DC efree(CG(current_import)); CG(current_import) = NULL; } + + if (CG(doc_comment)) { + efree(CG(doc_comment)); + CG(doc_comment) = NULL; + CG(doc_comment_len) = 0; + } } /* }}} */ |