Changeset 429
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svnmerge-integrated changed
/branches/1.2 merged: 428
- Property svnmerge-integrated changed
-
trunk/xcache.c
r425 r429 1661 1661 xc_cest_t tmp_cest; 1662 1662 1663 zend_hash_destroy(&XG(internal_function_table)); 1664 zend_hash_destroy(&XG(internal_class_table)); 1665 1663 1666 zend_hash_init_ex(&XG(internal_function_table), 100, NULL, CG(function_table)->pDestructor, 1, 0); 1667 zend_hash_init_ex(&XG(internal_class_table), 10, NULL, CG(class_table)->pDestructor, 1, 0); 1668 1664 1669 zend_hash_copy(&XG(internal_function_table), CG(function_table), (copy_ctor_func_t) function_add_ref, &tmp_func, sizeof(tmp_func)); 1665 1666 zend_hash_init_ex(&XG(internal_class_table), 10, NULL, CG(class_table)->pDestructor, 1, 0);1667 1670 zend_hash_copy(&XG(internal_class_table), CG(class_table), (copy_ctor_func_t) xc_zend_class_add_ref, &tmp_cest, sizeof(tmp_cest)); 1668 1671 } … … 1712 1715 { 1713 1716 memset(xcache_globals, 0, sizeof(zend_xcache_globals)); 1717 1718 zend_hash_init_ex(&xcache_globals->internal_function_table, 1, NULL, NULL, 1, 0); 1719 zend_hash_init_ex(&xcache_globals->internal_class_table, 1, NULL, NULL, 1, 0); 1720 1714 1721 } 1715 1722 /* }}} */

