helly Tue Aug 12 14:56:52 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/phar func_interceptors.c
Log:
- Fix http://bugs.php.net/bug.php?id=45613
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/func_interceptors.c?r1=1.20.2.12&r2=1.20.2.13&diff_format=u
Index: php-src/ext/phar/func_interceptors.c
diff -u php-src/ext/phar/func_interceptors.c:1.20.2.12
php-src/ext/phar/func_interceptors.c:1.20.2.13
--- php-src/ext/phar/func_interceptors.c:1.20.2.12 Fri Aug 1 13:48:44 2008
+++ php-src/ext/phar/func_interceptors.c Tue Aug 12 14:56:52 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: func_interceptors.c,v 1.20.2.12 2008/08/01 13:48:44 sfox Exp $ */
+/* $Id: func_interceptors.c,v 1.20.2.13 2008/08/12 14:56:52 helly Exp $ */
#include "phar_internal.h"
@@ -950,7 +950,9 @@
}
}
}
- efree(entry);
+ if (entry != filename) {
+ efree(entry);
+ }
efree(arch);
RETURN_FALSE;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php