Changeset 387 for trunk/xc_malloc.c

Show
Ignore:
Timestamp:
05/15/2007 06:49:31 AM (20 months ago)
Author:
moo
Message:

memory override using free'ed memory

Files:
1 modified

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}