1
0
Fork 0

memory override using free'ed memory

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@387 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 2007-05-15 06:49:31 +00:00
parent 93472f4486
commit 037a65f69d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
/* }}} */