diff options
author | Zeev Suraski <zeev@php.net> | 2001-07-30 06:18:13 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-07-30 06:18:13 +0000 |
commit | 797a079a95585a07bc7f26a79e04521d3b370177 (patch) | |
tree | 39e195dd61222e38b934b64d51d3ab37199a0ad3 /ext/filepro | |
parent | e8ac55d03c31304b7a68e5b18c16338dff9a5eb5 (diff) | |
download | php-git-797a079a95585a07bc7f26a79e04521d3b370177.tar.gz |
More TSRMLS_FETCH work, and a bit of cleanup
Diffstat (limited to 'ext/filepro')
-rw-r--r-- | ext/filepro/filepro.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/filepro/filepro.c b/ext/filepro/filepro.c index b08a4eee31..a997934bda 100644 --- a/ext/filepro/filepro.c +++ b/ext/filepro/filepro.c @@ -120,10 +120,11 @@ PHP_MSHUTDOWN_FUNCTION(filepro) SET_MUTEX(fp_mutex); numthreads--; if (!numthreads){ - if (!TlsFree(FPTls)){ - FREE_MUTEX(fp_mutex); - return 0; - }} + if (!TlsFree(FPTls)){ + FREE_MUTEX(fp_mutex); + return 0; + } + } FREE_MUTEX(fp_mutex); #endif #endif |