zeev            Mon Aug 16 08:23:06 2004 EDT

  Modified files:              (Branch: PHP_4_3)
    /php-src/main       main.c 
  Log:
  Fix an OLDIE fd leak
  
  
http://cvs.php.net/diff.php/php-src/main/main.c?r1=1.512.2.54&r2=1.512.2.55&ty=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.512.2.54 php-src/main/main.c:1.512.2.55
--- php-src/main/main.c:1.512.2.54      Wed Jul 21 12:25:28 2004
+++ php-src/main/main.c Mon Aug 16 08:23:06 2004
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: main.c,v 1.512.2.54 2004/07/21 16:25:28 sesser Exp $ */
+/* $Id: main.c,v 1.512.2.55 2004/08/16 12:23:06 zeev Exp $ */
 
 /* {{{ includes
  */
@@ -1668,6 +1668,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