Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 2002 10:41:38 -0700
From:      Juli Mallett <jmallett@FreeBSD.org>
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>
In-Reply-To: <200206191739.g5JHdaJ53469@freefall.freebsd.org>; from jmallett@FreeBSD.org on Wed, Jun 19, 2002 at 10:39:36AM -0700
References:  <200206191739.g5JHdaJ53469@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Juli Mallett <jmallett@FreeBSD.org> 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 <jmallett@FreeBSD.org>       | 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020619104138.A65962>