cvs: ZendEngine2 / zend_opcode.c
| From: | Zeev Suraski | Date: | Mon, 04 Aug 2003 07:52:09 +0000 |
| Subject: | cvs: ZendEngine2 / zend_opcode.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1596@lists.php.net to get a copy of this message | ||
zeev Mon Aug 4 03:52:09 2003 EDT
Modified files:
/ZendEngine2 zend_opcode.c
Log:
This check shouldn't be necessary
Index: ZendEngine2/zend_opcode.c
diff -u ZendEngine2/zend_opcode.c:1.96 ZendEngine2/zend_opcode.c:1.97
--- ZendEngine2/zend_opcode.c:1.96 Sun Aug 3 18:28:14 2003
+++ ZendEngine2/zend_opcode.c Mon Aug 4 03:52:09 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_opcode.c,v 1.96 2003/08/03 22:28:14 helly Exp $ */
+/* $Id: zend_opcode.c,v 1.97 2003/08/04 07:52:09 zeev Exp $ */
#include <stdio.h>
@@ -234,9 +234,7 @@
}
if (op_array->arg_info) {
for (i=0; i<op_array->num_args; i++) {
- if (op_array->arg_info[i].name) {
- efree(op_array->arg_info[i].name);
- }
+ efree(op_array->arg_info[i].name);
if (op_array->arg_info[i].class_name) {
efree(op_array->arg_info[i].class_name);
}