diff options
Diffstat (limited to 'ext/filepro/filepro.c')
| -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  | 
