From owner-svn-ports-head@FreeBSD.ORG Sat Sep 22 14:27:51 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C679B106566B; Sat, 22 Sep 2012 14:27:51 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B18528FC12; Sat, 22 Sep 2012 14:27:51 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q8MERp10082698; Sat, 22 Sep 2012 14:27:51 GMT (envelope-from swills@svn.freebsd.org) Received: (from swills@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8MERprn082695; Sat, 22 Sep 2012 14:27:51 GMT (envelope-from swills@svn.freebsd.org) Message-Id: <201209221427.q8MERprn082695@svn.freebsd.org> From: Steve Wills Date: Sat, 22 Sep 2012 14:27:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r304677 - in head: Mk lang/ruby19/files X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Sep 2012 14:27:51 -0000 Author: swills Date: Sat Sep 22 14:27:51 2012 New Revision: 304677 URL: http://svn.freebsd.org/changeset/ports/304677 Log: - Fix memory leak PR: ports/171807 Submitted by: stas Added: head/lang/ruby19/files/patch-thread_pthread.c (contents, props changed) Modified: head/Mk/bsd.ruby.mk Modified: head/Mk/bsd.ruby.mk ============================================================================== --- head/Mk/bsd.ruby.mk Sat Sep 22 14:08:44 2012 (r304676) +++ head/Mk/bsd.ruby.mk Sat Sep 22 14:27:51 2012 (r304677) @@ -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 Added: head/lang/ruby19/files/patch-thread_pthread.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ruby19/files/patch-thread_pthread.c Sat Sep 22 14:27:51 2012 (r304677) @@ -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); + }