1
0
Fork 0

php5 cli zts dtor fix

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@25 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
Xuefer 2006-05-26 02:24:53 +00:00
parent 1ac2d92310
commit 9bee15465c
1 changed files with 3 additions and 1 deletions

View File

@ -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