Date: Wed, 7 Nov 2001 15:00:05 -0800 (PST) From: Tor Egge <tegge@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/sh cd.c Message-ID: <200111072300.fA7N05K06296@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
tegge 2001/11/07 15:00:05 PST
Modified files:
bin/sh cd.c
Log:
Don't call setvar() with the VTEXTFIXED flag. A copy is created by
setvar() and passed to setvareq(). When the VTEXTFIXED flag is set,
that copy is never freed, causing a memory leak.
PR: 31533
Submitted by: maxim@macomnet.ru
Revision Changes Path
1.21 +5 -5 src/bin/sh/cd.c
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?200111072300.fA7N05K06296>
