cvs: pecl /phar func_interceptors.c
| From: | Greg Beaver | Date: | Fri, 26 Sep 2008 04:54:52 +0000 |
| Subject: | cvs: pecl /phar func_interceptors.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-11388@lists.php.net to get a copy of this message | ||
cellog Fri Sep 26 04:54:52 2008 UTC
Modified files:
/pecl/phar func_interceptors.c
Log:
MFPHP5: fix another memory leak
http://cvs.php.net/viewvc.cgi/pecl/phar/func_interceptors.c?r1=1.27&r2=1.28&diff_format=u
Index: pecl/phar/func_interceptors.c
diff -u pecl/phar/func_interceptors.c:1.27 pecl/phar/func_interceptors.c:1.28
--- pecl/phar/func_interceptors.c:1.27 Fri Sep 26 04:42:00 2008
+++ pecl/phar/func_interceptors.c Fri Sep 26 04:54:52 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: func_interceptors.c,v 1.27 2008/09/26 04:42:00 cellog Exp $ */
+/* $Id: func_interceptors.c,v 1.28 2008/09/26 04:54:52 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 */