Date: Mon, 4 Jan 2010 01:08:27 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r201458 - stable/8/bin/pax Message-ID: <201001040108.o0418Rin004610@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <henning.petersen t-online.de> 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001040108.o0418Rin004610>