Changeset 503


Ignore:
Timestamp:
2008-01-05T03:36:01+01:00 (6 years ago)
Author:
moo
Message:

constinfos cannot be fast copied

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/processor.m4

    r500 r503  
    775775#ifdef HAVE_XCACHE_CONSTANT 
    776776    DISPATCH(zend_uint, constinfo_cnt) 
    777     IFRESTORE(` 
    778         COPY(constinfos) 
    779     ', ` 
    780         STRUCT_ARRAY(constinfo_cnt, xc_constinfo_t, constinfos) 
    781     ') 
     777    STRUCT_ARRAY(constinfo_cnt, xc_constinfo_t, constinfos) 
    782778#endif 
    783779 
  • trunk/xcache.c

    r502 r503  
    11791179    } zend_end_try(); 
    11801180 
     1181    if (php.constinfos) { 
     1182        efree(php.constinfos); 
     1183    } 
    11811184    if (php.funcinfos) { 
    11821185        efree(php.funcinfos); 
Note: See TracChangeset for help on using the changeset viewer.