diff options
author | Sascha Schumann <sas@php.net> | 1999-11-26 15:33:42 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 1999-11-26 15:33:42 +0000 |
commit | 2f10b7ede8817ae462dd072bcceb8c1bd6e1d7db (patch) | |
tree | 1ea1a2037cb1051fca998cb2de22d9a739c63257 /TSRM/TSRM.c | |
parent | 957b079232166a642faa3074e1f0faea5f154a75 (diff) | |
download | php-git-2f10b7ede8817ae462dd072bcceb8c1bd6e1d7db.tar.gz |
Close a resource leak.
Diffstat (limited to 'TSRM/TSRM.c')
-rw-r--r-- | TSRM/TSRM.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TSRM/TSRM.c b/TSRM/TSRM.c index 87fb25f37c..f483527b38 100644 --- a/TSRM/TSRM.c +++ b/TSRM/TSRM.c @@ -340,7 +340,7 @@ TSRM_API void tsrm_mutex_free( MUTEX_T mutexp ) #ifdef WIN32 CloseHandle(mutexp); #elif defined(PTHREADS) - free(mutexp); + pthread_mutex_destroy(mutexp); #elif defined(NSAPI) crit_terminate(mutexp); #elif defined(PI3WEB) |