summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/isp_target.h
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2001-09-04 19:03:47 +0000
committeriedowse <iedowse@FreeBSD.org>2001-09-04 19:03:47 +0000
commit44040d926100921b9fdd3a8427f5660ec08e0227 (patch)
treeaa162ad43a2563b319e80cae4178b6085b2d910b /sys/dev/isp/isp_target.h
parent6995cd30050939abf97ac0fa7fb42a68ce4f63a1 (diff)
downloadFreeBSD-src-44040d926100921b9fdd3a8427f5660ec08e0227.zip
FreeBSD-src-44040d926100921b9fdd3a8427f5660ec08e0227.tar.gz
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
Diffstat (limited to 'sys/dev/isp/isp_target.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud