Skip to content

Commit

Permalink
Close a resource leak.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha Schumann committed Nov 26, 1999
1 parent 957b079 commit 2f10b7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TSRM/TSRM.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2f10b7e

Please sign in to comment.