Changeset 387 for trunk/xc_malloc.c


Ignore:
Timestamp:
2007-05-15T08:49:31+02:00 (7 years ago)
Author:
moo
Message:

memory override using free'ed memory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xc_malloc.c

    r386 r387  
    178178static XC_SHM_DESTROY(xc_malloc_destroy) /* {{{ */ 
    179179{ 
     180#ifdef HAVE_XCACHE_TEST 
     181    zend_hash_destroy(&shm->blocks); 
     182#endif 
    180183    free(shm); 
    181 #ifdef HAVE_XCACHE_TEST 
    182     zend_hash_destroy(&shm->blocks); 
    183 #endif 
    184184    return; 
    185185} 
Note: See TracChangeset for help on using the changeset viewer.