cvs: ZendEngine2 / zend_compile.c

[email protected] ("Felipe Pena")
Newsgroups php.zend-engine.cvs
Message-ID <cvsfelipe1205800655@cvsserver>
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);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.