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 /mutex.c | |
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>
Diffstat (limited to 'mutex.c')
-rw-r--r-- | mutex.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -197,6 +197,7 @@ pthread_mutex_destroy(pthread_mutex_t *mutex) if (result == 0) { mx->mutex = 0; + free(mx); *mutex = NULL; } |