tony2001                Fri Jan 12 09:10:05 2007 UTC

  Modified files:              
    /php-src/main       fopen_wrappers.c 
  Log:
  plug newly added leak
  
  
http://cvs.php.net/viewvc.cgi/php-src/main/fopen_wrappers.c?r1=1.188&r2=1.189&diff_format=u
Index: php-src/main/fopen_wrappers.c
diff -u php-src/main/fopen_wrappers.c:1.188 php-src/main/fopen_wrappers.c:1.189
--- php-src/main/fopen_wrappers.c:1.188 Fri Jan 12 01:50:43 2007
+++ php-src/main/fopen_wrappers.c       Fri Jan 12 09:10:05 2007
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: fopen_wrappers.c,v 1.188 2007/01/12 01:50:43 iliaa Exp $ */
+/* $Id: fopen_wrappers.c,v 1.189 2007/01/12 09:10:05 tony2001 Exp $ */
 
 /* {{{ includes
  */
@@ -312,6 +312,9 @@
                                        SG(request_info).path_translated = 
filename;
                                }
                        }
+#if defined(ZTS) && defined(HAVE_GETPWNAM_R) && defined(_SC_GETPW_R_SIZE_MAX)
+                       efree(pwbuf);
+#endif
                }
        } else
 #endif

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

Reply via email to