Commits

laru...@c90b9560-bf6c-de11-be94-00142212c4b1  committed 2663a62

Revert previous bad fix, introduce memory leak

  • Participants
  • Parent commits 0934969

Comments (0)

Files changed (1)

File Zend/zend_object_handlers.c

 					    prop_info->offset >= 0 &&
 						zobj->properties_table[prop_info->offset]) {
 						if (UNEXPECTED(flags[prop_info->offset])) {
-							Z_ADDREF_P(*(zval **)zobj->properties_table[prop_info->offset]);
 							zend_hash_quick_add(zobj->properties, prop_info->name, prop_info->name_length+1, prop_info->h, (void**)zobj->properties_table[prop_info->offset], sizeof(zval*), (void**)&zobj->properties_table[prop_info->offset]);
 						} else {
 							zend_hash_quick_add(zobj->properties, prop_info->name, prop_info->name_length+1, prop_info->h, (void**)&zobj->properties_table[prop_info->offset], sizeof(zval*), (void**)&zobj->properties_table[prop_info->offset]);