cvs: php4 /ext/pcre php_pcre.c

From: Date: Tue, 15 May 2001 18:00:35 +0000
Subject: cvs: php4 /ext/pcre php_pcre.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-5762@lists.php.net to get a copy of this message
andrei Tue May 15 11:00:35 2001 EDT Modified files: /php4/ext/pcre php_pcre.c Log: Revert previous commit - callback_name does need to be checked because it is set conditional on is_callable_replace. Index: php4/ext/pcre/php_pcre.c diff -u php4/ext/pcre/php_pcre.c:1.95 php4/ext/pcre/php_pcre.c:1.96 --- php4/ext/pcre/php_pcre.c:1.95 Mon May 14 05:58:48 2001 +++ php4/ext/pcre/php_pcre.c Tue May 15 11:00:35 2001 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_pcre.c,v 1.95 2001/05/14 12:58:48 andrei Exp $ */ +/* $Id: php_pcre.c,v 1.96 2001/05/15 18:00:35 andrei Exp $ */ #include "php.h" #include "php_globals.h" @@ -989,7 +989,8 @@ zval_copy_ctor(return_value); return; } - efree(callback_name); + if (callback_name) + efree(callback_name); SEPARATE_ZVAL(regex); SEPARATE_ZVAL(subject);

« previous php.cvs (#5762) next »