From owner-svn-src-stable@FreeBSD.ORG Mon Nov 23 09:15:17 2009 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0903C1065672; Mon, 23 Nov 2009 09:15:17 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id EB1788FC18; Mon, 23 Nov 2009 09:15:16 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id nAN9FGLX047204; Mon, 23 Nov 2009 09:15:16 GMT (envelope-from brueffer@svn.freebsd.org) Received: (from brueffer@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id nAN9FG5h047202; Mon, 23 Nov 2009 09:15:16 GMT (envelope-from brueffer@svn.freebsd.org) Message-Id: <200911230915.nAN9FG5h047202@svn.freebsd.org> From: Christian Brueffer Date: Mon, 23 Nov 2009 09:15:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r199702 - stable/7/lib/libc/posix1e X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2009 09:15:17 -0000 Author: brueffer Date: Mon Nov 23 09:15:16 2009 New Revision: 199702 URL: http://svn.freebsd.org/changeset/base/199702 Log: MFC: r199317 Fix a memory leak in acl_from_text() in case the conversion succeeded. Modified: stable/7/lib/libc/posix1e/acl_from_text.c Directory Properties: stable/7/lib/libc/ (props changed) Modified: stable/7/lib/libc/posix1e/acl_from_text.c ============================================================================== --- stable/7/lib/libc/posix1e/acl_from_text.c Mon Nov 23 09:13:32 2009 (r199701) +++ stable/7/lib/libc/posix1e/acl_from_text.c Mon Nov 23 09:15:16 2009 (r199702) @@ -229,6 +229,7 @@ acl_from_text(const char *buf_p) } #endif + free(mybuf_p); return(acl); error_label: