cvs: php-src /main fopen_wrappers.c

From: Date: Fri, 12 Jan 2007 09:10:05 +0000
Subject: cvs: php-src /main fopen_wrappers.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-42690@lists.php.net to get a copy of this message
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

« previous php.cvs (#42690) next »