Browse Source

fix segv on MSHUTDOWN

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@154 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.1
Xuefer 15 years ago
parent
commit
904284625a
  1. 2
      xcache.c

2
xcache.c

@ -1138,8 +1138,8 @@ static xc_shm_t *xc_cache_destroy(xc_cache_t **caches, xc_hash_t *hcache) /* {{{
}
cache->mem->handlers->free(cache->mem, cache);
*/
shm->handlers->memdestroy(cache->mem);
shm = cache->shm;
shm->handlers->memdestroy(cache->mem);
}
}
free(caches);

Loading…
Cancel
Save