]> granicus.if.org Git - php/commitdiff
- Missing to commit this change here... (thanks nikic)
authorFelipe Pena <felipe@php.net>
Fri, 8 Jul 2011 16:29:33 +0000 (16:29 +0000)
committerFelipe Pena <felipe@php.net>
Fri, 8 Jul 2011 16:29:33 +0000 (16:29 +0000)
Zend/zend_compile.c

index bdb886e77b828f70d0c90ce0f5562e33022dc26c..ff6170226138f2458d81c8813e00e1f4bbcad7b7 100644 (file)
@@ -5320,6 +5320,12 @@ void zend_do_end_namespace(TSRMLS_D) /* {{{ */
                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;
+       }
 }
 /* }}} */