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 | |
parent | - Update to 1.7 (diff) |
- Fix memory leak
PR: ports/171807
Submitted by: stas
Notes
Notes:
svn path=/head/; revision=304677
-rw-r--r-- | Mk/bsd.ruby.mk | 2 | ||||
-rw-r--r-- | lang/ruby19/files/patch-thread_pthread.c | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk index c4d8eb16bf80..aad4f2baa6d1 100644 --- a/Mk/bsd.ruby.mk +++ b/Mk/bsd.ruby.mk @@ -194,7 +194,7 @@ RUBY19= "@comment " # Ruby 1.9 # RUBY_RELVERSION= 1.9.3 -RUBY_PORTREVISION= 0 +RUBY_PORTREVISION= 1 RUBY_PORTEPOCH= 1 RUBY_PATCHLEVEL= 194 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); + } |