Date: Tue, 4 Sep 2001 12:03:47 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_cache.c Message-ID: <200109041903.f84J3lv24812@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2001/09/04 12:03:47 PDT Modified files: sys/kern vfs_cache.c Log: Fix a memory leak in __getcwd() that can occur after a filesystem has been forcibly unmounted. If the filesystem root vnode is reached and it has no associated mountpoint (vp->v_mount == NULL), __getcwd would return without freeing 'buf'. Add the missing free() call. PR: kern/30306 Submitted by: Mike Potanin <potanin@mccme.ru> MFC after: 1 week Revision Changes Path 1.60 +4 -2 src/sys/kern/vfs_cache.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?200109041903.f84J3lv24812>