diff options
author | Steve Wills <swills@FreeBSD.org> | 2012-09-22 14:27:51 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2012-09-22 14:27:51 +0000 |
commit | ffbafcde486c3f4d353995e69a3a71af3f4e481b (patch) | |
tree | b3206e3464e7f7986ac5c43c855e4312ff9c80f7 /lang/ruby19 | |
parent | - Update to 1.7 (diff) |
- Fix memory leak
PR: ports/171807
Submitted by: stas
Notes
Notes:
svn path=/head/; revision=304677
Diffstat (limited to 'lang/ruby19')
-rw-r--r-- | lang/ruby19/files/patch-thread_pthread.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lang/ruby19/files/patch-thread_pthread.c b/lang/ruby19/files/patch-thread_pthread.c new file mode 100644 index 000000000000..462f1c1d3d9b --- /dev/null +++ b/lang/ruby19/files/patch-thread_pthread.c @@ -0,0 +1,10 @@ +--- thread_pthread.c.orig 2012-09-20 00:26:58.000000000 -0700 ++++ thread_pthread.c 2012-09-20 00:27:17.000000000 -0700 +@@ -248,6 +248,7 @@ + #endif + + r = pthread_cond_init(&cond->cond, &attr); ++ pthread_condattr_destroy(&attr); + if (r != 0) { + rb_bug_errno("pthread_cond_init", r); + } |