Re: cvs: php-src /ext/pcre php_pcre.c

From: Date: Mon, 29 May 2006 21:11:39 +0000
Subject: Re: cvs: php-src /ext/pcre php_pcre.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-38484@lists.php.net to get a copy of this message
@@ -1115,6 +1115,10 @@ } } else { pcre_handle_exec_error(count TSRMLS_CC); + if (result) { + efree(result); + result = NULL; + } break; }
Nice catch, Tony! But you don't need the if, because result is never NULL (it is assigned only from safe_malloc()). Nuno

« previous php.cvs (#38484) next »