cvs: ZendEngine2 / zend_compile.c
| From: | Felipe Pena | Date: | Tue, 18 Mar 2008 00:37:35 +0000 |
| Subject: | cvs: ZendEngine2 / zend_compile.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-6535@lists.php.net to get a copy of this message | ||
felipe Tue Mar 18 00:37:35 2008 UTC
Modified files:
/ZendEngine2 zend_compile.c
Log:
Fix build
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_compile.c?r1=1.811&r2=1.812&diff_format=u
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.811 ZendEngine2/zend_compile.c:1.812
--- ZendEngine2/zend_compile.c:1.811 Mon Mar 17 14:53:43 2008
+++ ZendEngine2/zend_compile.c Tue Mar 18 00:37:35 2008
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_compile.c,v 1.811 2008/03/17 14:53:43 tony2001 Exp $ */
+/* $Id: zend_compile.c,v 1.812 2008/03/18 00:37:35 felipe Exp $ */
#include <zend_language_parser.h>
#include "zend.h"
@@ -2426,7 +2426,7 @@
if (function->common.fn_flags & ZEND_ACC_CTOR) {
/* inherit parent's constructor */
zend_u_hash_update(&ce->function_table, ZEND_STR_TYPE, lc_parent_class_name,
ce->parent->name_length+1, function, sizeof(zend_function), NULL);
- function_add_ref(function);
+ function_add_ref(function TSRMLS_CC);
}
}
efree(lc_parent_class_name.v);