Browse Source

merged r465 from b1.2: fixed #102, Segmentation fault with xcache.var_size=1K

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@467 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 15 years ago
parent
commit
c9e233fb73
  1. 3
      xcache.c

3
xcache.c

@ -1650,11 +1650,12 @@ static int xc_init(int module_number TSRMLS_DC) /* {{{ */
return SUCCESS;
err:
xc_destroy();
if (xc_php_caches || xc_var_caches) {
xc_destroy();
/* shm destroied in xc_destroy() */
}
else if (shm) {
xc_destroy();
xc_shm_destroy(shm);
}
return 0;

Loading…
Cancel
Save