Changeset 289 for trunk/disassembler.c


Ignore:
Timestamp:
2006-11-28T18:05:55+01:00 (8 years ago)
Author:
moo
Message:

disassembler: wrong parameter calling destroy_op_array which makes building on php4 zts fails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/disassembler.c

    r200 r289  
    101101    /* free */ 
    102102    efree(eval_name); 
     103#ifdef ZEND_ENGINE_2 
    103104    destroy_op_array(op_array TSRMLS_CC); 
     105#else 
     106    destroy_op_array(op_array); 
     107#endif 
    104108    efree(op_array); 
    105109    xc_sandbox_free(&sandbox, 0 TSRMLS_CC); 
     
    141145 
    142146    /* free */ 
     147#ifdef ZEND_ENGINE_2 
    143148    destroy_op_array(op_array TSRMLS_CC); 
     149#else 
     150    destroy_op_array(op_array); 
     151#endif 
    144152    efree(op_array); 
    145153    xc_sandbox_free(&sandbox, 0 TSRMLS_CC); 
Note: See TracChangeset for help on using the changeset viewer.