memory override using free'ed memory
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@387 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
parent
93472f4486
commit
037a65f69d
|
@ -177,10 +177,10 @@ static XC_SHM_TO_READONLY(xc_malloc_to_readonly) /* {{{ */
|
|||
|
||||
static XC_SHM_DESTROY(xc_malloc_destroy) /* {{{ */
|
||||
{
|
||||
free(shm);
|
||||
#ifdef HAVE_XCACHE_TEST
|
||||
zend_hash_destroy(&shm->blocks);
|
||||
#endif
|
||||
free(shm);
|
||||
return;
|
||||
}
|
||||
/* }}} */
|
||||
|
|
Loading…
Reference in New Issue