zeev            Mon Aug 16 08:24:52 2004 EDT

  Modified files:              
    /php-src/main       main.c 
  Log:
  Fix an oldie fd leak
  
  
http://cvs.php.net/diff.php/php-src/main/main.c?r1=1.607&r2=1.608&ty=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.607 php-src/main/main.c:1.608
--- php-src/main/main.c:1.607   Fri Aug 13 03:02:50 2004
+++ php-src/main/main.c Mon Aug 16 08:24:52 2004
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: main.c,v 1.607 2004/08/13 07:02:50 derick Exp $ */
+/* $Id: main.c,v 1.608 2004/08/16 12:24:52 zeev Exp $ */
 
 /* {{{ includes
  */
@@ -1566,6 +1566,7 @@
 
        EG(exit_status) = 0;
        if (php_handle_special_queries(TSRMLS_C)) {
+               zend_file_handle_dtor(primary_file);
                return 0;
        }
 #ifndef HAVE_BROKEN_GETCWD

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to