cellog Fri Sep 26 04:54:23 2008 UTC
Modified files:
/php-src/ext/phar func_interceptors.c
Log:
MFB: fix another memory leak
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/func_interceptors.c?r1=1.28&r2=1.29&diff_format=u
Index: php-src/ext/phar/func_interceptors.c
diff -u php-src/ext/phar/func_interceptors.c:1.28
php-src/ext/phar/func_interceptors.c:1.29
--- php-src/ext/phar/func_interceptors.c:1.28 Fri Sep 26 04:41:40 2008
+++ php-src/ext/phar/func_interceptors.c Fri Sep 26 04:54:22 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: func_interceptors.c,v 1.28 2008/09/26 04:41:40 cellog Exp $ */
+/* $Id: func_interceptors.c,v 1.29 2008/09/26 04:54:22 cellog Exp $ */
#include "phar_internal.h"
@@ -686,6 +686,7 @@
int save_len;
notfound:
+ efree(entry);
save = PHAR_G(cwd);
save_len = PHAR_G(cwd_len);
/* this file is not in the current directory,
use the original path */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php