diff options
| author | David Xu <davidxu@FreeBSD.org> | 2003-06-03 02:21:01 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2003-06-03 02:21:01 +0000 |
| commit | a4c69f224b66d5c96c6cc963c57ceb652dd454d8 (patch) | |
| tree | fee3eb614ec5a89673b553f6647bedd0be160e28 /lib/libpthread/thread/thr_cond.c | |
| parent | 795d7dc093eaa88fc1768fa1970ff0fefcde2e80 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_cond.c')
| -rw-r--r-- | lib/libpthread/thread/thr_cond.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_cond.c b/lib/libpthread/thread/thr_cond.c index 8bf49bc155cb..b352ba3be3c9 100644 --- a/lib/libpthread/thread/thr_cond.c +++ b/lib/libpthread/thread/thr_cond.c @@ -152,6 +152,9 @@ _pthread_cond_destroy(pthread_cond_t *cond) /* Unlock the condition variable structure: */ THR_LOCK_RELEASE(curthread, &cv->c_lock); + /* Free the cond lock structure: */ + _lock_destroy(&cv->c_lock); + /* * Free the memory allocated for the condition * variable structure: |
