From owner-cvs-all Wed Jun 19 10:41:42 2002 Delivered-To: cvs-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 2E84D37B407; Wed, 19 Jun 2002 10:41:38 -0700 (PDT) Date: Wed, 19 Jun 2002 10:41:38 -0700 From: Juli Mallett To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/make var.c Message-ID: <20020619104138.A65962@FreeBSD.ORG> References: <200206191739.g5JHdaJ53469@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <200206191739.g5JHdaJ53469@freefall.freebsd.org>; from jmallett@FreeBSD.org on Wed, Jun 19, 2002 at 10:39:36AM -0700 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , X-Affiliated-Projects: FreeBSD, xMach, ircd-hybrid-7 X-Towel: Yes Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Juli Mallett escriurères > jmallett 2002/06/19 10:39:36 PDT > > Modified files: > usr.bin/make var.c > Log: > Fix a memory leak from previous commit by freeing the possibly expanded > string at the first opportunity, being sure to now always allocate the > new string from VarPossiblyExpand. Oops. Sorry about this. It's always nice to remember what Side effects are listed for a given function *after* making use of it. uNF. > Revision Changes Path > 1.28 +8 -2 src/usr.bin/make/var.c -- Juli Mallett | FreeBSD: The Power To Serve Will break world for fulltime employment. | finger jmallett@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message