diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | mutex.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Wed Sep 8 12:56:13 1999 Ross Johnson <rpj@swan.canberra.edu.au> + + * mutex.c (pthread_mutex_destroy): Free mutex memory. + - Milan Gardian <mg@tatramed.sk> + 1999-08-22 Ross Johnson <rpj@ixobrychus.canberra.edu.au> * exit.c (pthread_exit): Fix reference to potentially @@ -197,6 +197,7 @@ pthread_mutex_destroy(pthread_mutex_t *mutex) if (result == 0) { mx->mutex = 0; + free(mx); *mutex = NULL; } |