Ignore:
Timestamp:
2006-10-07T03:55:45+02:00 (8 years ago)
Author:
moo
Message:

processor: reset refcount to 0 to kill leak warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/processor.m4

    r212 r217  
    295295 
    296296    STRUCT(HashTable, default_properties, HashTable_zval_ptr) 
     297    IFSTORE(`xc_hash_reset_zval_refcount(&dst->default_properties TSRMLS_CC);') 
    297298    IFCOPY(`dst->builtin_functions = src->builtin_functions;') 
    298299    DONE(builtin_functions) 
     
    308309#   endif 
    309310    STRUCT(HashTable, constants_table, HashTable_zval_ptr) 
     311    IFSTORE(`xc_hash_reset_zval_refcount(&dst->constants_table TSRMLS_CC);') 
    310312 
    311313    dnl runtime binding: ADD_INTERFACE will deal with it 
Note: See TracChangeset for help on using the changeset viewer.