From owner-svn-src-all@FreeBSD.ORG Mon Jan 4 01:08:27 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9CC71065672; Mon, 4 Jan 2010 01:08:27 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D8B928FC0A; Mon, 4 Jan 2010 01:08:27 +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 o0418RuF004612; Mon, 4 Jan 2010 01:08:27 GMT (envelope-from delphij@svn.freebsd.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o0418Rin004610; Mon, 4 Jan 2010 01:08:27 GMT (envelope-from delphij@svn.freebsd.org) Message-Id: <201001040108.o0418Rin004610@svn.freebsd.org> From: Xin LI Date: Mon, 4 Jan 2010 01:08:27 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201458 - stable/8/bin/pax X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2010 01:08:28 -0000 Author: delphij Date: Mon Jan 4 01:08:27 2010 New Revision: 201458 URL: http://svn.freebsd.org/changeset/base/201458 Log: Plug a memory leak. PR: bin/141835 Submitted by: Henning Petersen Modified: stable/8/bin/pax/sel_subs.c Directory Properties: stable/8/bin/pax/ (props changed) Modified: stable/8/bin/pax/sel_subs.c ============================================================================== --- stable/8/bin/pax/sel_subs.c Mon Jan 4 01:07:32 2010 (r201457) +++ stable/8/bin/pax/sel_subs.c Mon Jan 4 01:08:27 2010 (r201458) @@ -396,6 +396,7 @@ trng_add(char *str) default: paxwarn(1, "Bad option %c with time range %s", *flgpt, str); + free(pt); goto out; } ++flgpt;