Browse Source

php5 cli zts dtor fix

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@25 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.1
Xuefer 16 years ago
parent
commit
9bee15465c
  1. 4
      xcache.c

4
xcache.c

@ -1862,7 +1862,9 @@ static PHP_MSHUTDOWN_FUNCTION(xcache)
pefree(xc_coredump_dir, 1);
xc_coredump_dir = NULL;
}
#ifndef ZTS
#ifdef ZTS
ts_free_id(xcache_globals_id);
#else
xc_shutdown_globals(&xcache_globals TSRMLS_CC);
#endif

Loading…
Cancel
Save