- Fixed bug #55156 (ReflectionClass::getDocComment() returns comment even though the class has none)

# Patch was not committed on the PHP5.3 branch
This commit is contained in:
Pierrick Charron 2011-08-22 01:11:22 +00:00
parent 0bea1fea8f
commit ef48624cd3

View file

@ -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;
}
}
/* }}} */