Browse Source

memory override using free'ed memory

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@387 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 15 years ago
parent
commit
037a65f69d
  1. 2
      xc_malloc.c

2
xc_malloc.c

@ -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…
Cancel
Save