diff options
author | swills <swills@FreeBSD.org> | 2012-09-22 22:27:51 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2012-09-22 22:27:51 +0800 |
commit | 7319ad3518612e93ce41c4bcc9ab8d35aa5e1209 (patch) | |
tree | b3206e3464e7f7986ac5c43c855e4312ff9c80f7 /lang/ruby19 | |
parent | 6bdff8f2b03335ee8921bf6ad999ddd697e9e4f1 (diff) | |
download | freebsd-ports-gnome-7319ad3518612e93ce41c4bcc9ab8d35aa5e1209.tar.gz freebsd-ports-gnome-7319ad3518612e93ce41c4bcc9ab8d35aa5e1209.tar.zst freebsd-ports-gnome-7319ad3518612e93ce41c4bcc9ab8d35aa5e1209.zip |
- Fix memory leak
PR: ports/171807
Submitted by: stas
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); + } |