Changeset 90
- Timestamp:
- 05/10/05 12:56:56 (3 years ago)
- Files:
-
- eaccelerator/trunk/ChangeLog (modified) (1 diff)
- eaccelerator/trunk/eaccelerator.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
eaccelerator/trunk/ChangeLog
r89 r90 2 2 3 3 * Added some includes to satisfy VC.NET (thanks to dakalka, patch 1198522) 4 * This patch adds the right destructor for the propertiesinfo hashtable, but it doesn't fix bug 1179270 4 5 5 6 2005-05-09 Franck Tabary <franck34 at users.sourceforge.net> eaccelerator/trunk/eaccelerator.c
r89 r90 2391 2391 } 2392 2392 2393 /* is equal to zend_destroy_property_info in zend_compile.c, this function is 2394 * needed as destructor for the properties_info hashtable, but is declared 2395 * static, so redefine it here. */ 2396 static void destroy_property_info(zend_property_info *property_info) { 2397 efree(property_info->name); 2398 } 2399 2393 2400 static zend_class_entry* restore_class_entry(zend_class_entry* to, eaccelerator_class_entry *from TSRMLS_DC) 2394 2401 { … … 2529 2536 to->default_properties.pDestructor = ZVAL_PTR_DTOR; 2530 2537 restore_hash(&to->properties_info, &from->properties_info, (restore_bucket_t)restore_property_info TSRMLS_CC); 2531 to->properties_info.pDestructor = ZVAL_PTR_DTOR;2538 to->properties_info.pDestructor = (dtor_func_t) destroy_property_info; 2532 2539 if (from->static_members != NULL) { 2533 2540 ALLOC_HASHTABLE(to->static_members); … … 2540 2547 */ 2541 2548 } 2542 /*??? FIXME2543 to->properties_info.pDestructor = (dtor_func_t) zend_destroy_property_info;2544 */2545 2549 #else 2546 2550 to->refcount = emalloc(sizeof(*to->refcount));