From 4cd9537cd00fcbab78c1e0d2125dac4a9117e815 Mon Sep 17 00:00:00 2001 From: rpj Date: Fri, 10 Sep 1999 05:24:06 +0000 Subject: Wed Sep 8 12:56:13 1999 Ross Johnson * mutex.c (pthread_mutex_destroy): Free mutex memory. - Milan Gardian --- mutex.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mutex.c') diff --git a/mutex.c b/mutex.c index 6a24d6f..2259713 100644 --- a/mutex.c +++ b/mutex.c @@ -197,6 +197,7 @@ pthread_mutex_destroy(pthread_mutex_t *mutex) if (result == 0) { mx->mutex = 0; + free(mx); *mutex = NULL; } -- cgit v1.2.3