From: Zeev Suraski Date: Mon, 16 Aug 2004 12:25:40 +0000 (+0000) Subject: MFH X-Git-Tag: php-5.0.2RC1~126 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be85bd83e86474c2de79c6f2691ffa75cdc595c1;p=php MFH --- diff --git a/main/main.c b/main/main.c index 53499bcb39..71217ae6da 100644 --- a/main/main.c +++ b/main/main.c @@ -1562,6 +1562,7 @@ PHPAPI int php_execute_script(zend_file_handle *primary_file TSRMLS_DC) EG(exit_status) = 0; if (php_handle_special_queries(TSRMLS_C)) { + zend_file_handle_dtor(primary_file); return 0; } #ifndef HAVE_BROKEN_GETCWD