diff options
author | rpj <rpj> | 1999-09-10 05:24:06 +0000 |
---|---|---|
committer | rpj <rpj> | 1999-09-10 05:24:06 +0000 |
commit | 4cd9537cd00fcbab78c1e0d2125dac4a9117e815 (patch) | |
tree | d455fb4feabfdfac7990ab79f6c6f0381919dd45 | |
parent | 3f0d4d7d7c5bece6799d966f0de7891c6d242261 (diff) |
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>
-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; } |