From 237edd7a2f7fc63babff283fae20a5ccd831ff54 Mon Sep 17 00:00:00 2001 From: kosaki Date: Mon, 20 Dec 2010 10:25:02 +0000 Subject: * 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 --- thread_pthread.c | 1 + 1 file changed, 1 insertion(+) (limited to 'thread_pthread.c') 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); } -- cgit v1.2.3