summaryrefslogtreecommitdiff
path: root/ext/filepro
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-30 06:18:13 +0000
committerZeev Suraski <zeev@php.net>2001-07-30 06:18:13 +0000
commit797a079a95585a07bc7f26a79e04521d3b370177 (patch)
tree39e195dd61222e38b934b64d51d3ab37199a0ad3 /ext/filepro
parente8ac55d03c31304b7a68e5b18c16338dff9a5eb5 (diff)
downloadphp-git-797a079a95585a07bc7f26a79e04521d3b370177.tar.gz
More TSRMLS_FETCH work, and a bit of cleanup
Diffstat (limited to 'ext/filepro')
-rw-r--r--ext/filepro/filepro.c9
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