Date: Tue, 4 Sep 2001 05:10:01 -0700 (PDT) From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/30306: Memory leak in __getcwd Message-ID: <200109041210.f84CA1T71434@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/30306; it has been noted by GNATS. From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Mike Potanin <potanin@mccme.ru> Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: kern/30306: Memory leak in __getcwd Date: Tue, 04 Sep 2001 14:08:54 +0200 In message <200109041159.f84BxMD67053@freefall.freebsd.org>, Mike Potanin writes: > for (vp = fdp->fd_cdir; vp != fdp->fd_rdir && vp != rootvnode;) { > if (vp->v_flag & VROOT) { >- if (vp->v_mount == NULL) { /* forced unmount */ >- free(buf, M_TEMP); >+ if (vp->v_mount == NULL) /* forced unmount */ > return (EBADF); >- } > vp = vp->v_mount->mnt_vnodecovered; > continue; Uhm, is this patch reversed by any chance ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109041210.f84CA1T71434>