diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-20 10:25:02 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-20 10:25:02 +0000 |
commit | 237edd7a2f7fc63babff283fae20a5ccd831ff54 (patch) | |
tree | 6ef11a3e57629aaddfcc23419a74e670b9def037 /thread_pthread.c | |
parent | 1695653f548c5187ab3df0653e17e153f3246836 (diff) |
* thread_pthread.c (native_thread_destroy): Fixed gvl_cond leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index a7def4d42f..dcd1a724bf 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -340,6 +340,7 @@ static void native_thread_destroy(rb_thread_t *th) { pthread_mutex_destroy(&th->interrupt_lock); + pthread_cond_destroy(&th->native_thread_data.gvl_cond); pthread_cond_destroy(&th->native_thread_data.sleep_cond); } |