cellog Fri Sep 26 04:54:08 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/phar func_interceptors.c Log: fix another memory leak http://cvs.php.net/viewvc.cgi/php-src/ext/phar/func_interceptors.c?r1=1.20.2.19&r2=1.20.2.20&diff_format=u Index: php-src/ext/phar/func_interceptors.c diff -u php-src/ext/phar/func_interceptors.c:1.20.2.19 php-src/ext/phar/func_interceptors.c:1.20.2.20 --- php-src/ext/phar/func_interceptors.c:1.20.2.19 Fri Sep 26 04:41:22 2008 +++ php-src/ext/phar/func_interceptors.c Fri Sep 26 04:54:08 2008 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: func_interceptors.c,v 1.20.2.19 2008/09/26 04:41:22 cellog Exp $ */ +/* $Id: func_interceptors.c,v 1.20.2.20 2008/09/26 04:54:08 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