cvs: php4 /ext/pcre php_pcre.c
| From: | Andrei Zmievski | Date: | Mon, 14 May 2001 12:58:50 +0000 |
| Subject: | cvs: php4 /ext/pcre php_pcre.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5732@lists.php.net to get a copy of this message | ||
andrei Mon May 14 05:58:50 2001 EDT
Modified files:
/php4/ext/pcre php_pcre.c
Log:
No need for check since callback_name is always filled in.
Index: php4/ext/pcre/php_pcre.c
diff -u php4/ext/pcre/php_pcre.c:1.94 php4/ext/pcre/php_pcre.c:1.95
--- php4/ext/pcre/php_pcre.c:1.94 Fri May 11 17:45:55 2001
+++ php4/ext/pcre/php_pcre.c Mon May 14 05:58:48 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_pcre.c,v 1.94 2001/05/12 00:45:55 wez Exp $ */
+/* $Id: php_pcre.c,v 1.95 2001/05/14 12:58:48 andrei Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -989,8 +989,7 @@
zval_copy_ctor(return_value);
return;
}
- if (callback_name)
- efree(callback_name);
+ efree(callback_name);
SEPARATE_ZVAL(regex);
SEPARATE_ZVAL(subject);