cvs: php-src(PHP_5_3) /ext/phar func_interceptors.c

From: Date: Tue, 12 Aug 2008 14:56:52 +0000
Subject: cvs: php-src(PHP_5_3) /ext/phar func_interceptors.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-52260@lists.php.net to get a copy of this message
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; }

« previous php.cvs (#52260) next »