freebsd-skq/sys
Ian Dowse 7476f7e87d 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
2001-09-04 19:03:47 +00:00
..
alpha Zap #if 0'ed map init code that got moved to the MI area. 2001-09-04 08:42:35 +00:00
amd64 Reenable RTC interrupts after wakeup. Some laptops have a problem 2001-09-04 16:02:06 +00:00
arm o Remove some GCCisms in src/powerpc/include/endian.h. 2001-08-30 00:04:19 +00:00
boot Enable bootforth. 2001-09-04 14:48:59 +00:00
cam Attach to a CD device even when the SCSI status is 'busy'. 2001-09-03 05:04:47 +00:00
coda Warning fix: coda_fbsd.c:113: warning: unused variable `ret' 2001-06-15 00:02:27 +00:00
compat Synchronize syscalls.master(s) with recent Giant pushdown work 2001-09-01 19:36:48 +00:00
conf There is no option IDE_DELAY and havn't been for a long time.. 2001-09-04 15:50:46 +00:00
contrib Nuke the Windows platform defines; we don't need them. 2001-08-26 22:46:28 +00:00
crypto properly check DES weak key. KAME PR 363. 2001-07-03 17:46:48 +00:00
ddb No tokens should follow #endif. 2001-08-15 03:38:49 +00:00
dev Add support for Conexant LANfinity miniPCI controllers. People who have 2001-09-04 17:10:11 +00:00
fs smbfs_advlock: simplify overflow checks (copy from kern_lockf.c) 2001-08-29 18:59:04 +00:00
geom Kill the NCCD constant by modernizing the ccd driver. 2001-09-04 08:33:30 +00:00
gnu Do not depend on pcb_savefpu backwards compat #define. 2001-07-12 12:19:11 +00:00
i4b make driver compile under 4.3-STABLE 2001-07-22 19:55:05 +00:00
i386 Reenable RTC interrupts after wakeup. Some laptops have a problem 2001-09-04 16:02:06 +00:00
ia64 Nuke #if 0'ed "setredzone()" stub. We never used it, and probably 2001-09-04 08:36:46 +00:00
isa Reenable RTC interrupts after wakeup. Some laptops have a problem 2001-09-04 16:02:06 +00:00
isofs/cd9660 - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION file 2001-05-23 09:42:29 +00:00
kern Fix a memory leak in __getcwd() that can occur after a filesystem 2001-09-04 19:03:47 +00:00
libkern Fixed some typos, verboseness and misformatting in comments. 2001-08-30 12:30:58 +00:00
modules Kill the NCCD constant by modernizing the ccd driver. 2001-09-04 08:33:30 +00:00
net Patches from Keiichi SHIMA <keiichi@iij.ad.jp> 2001-09-03 20:03:55 +00:00
netatalk
netatm Commited patch for uni signaling fix. 2001-07-11 16:31:50 +00:00
netgraph MFS: change name of sysctl to something more diplomatic. 2001-09-04 06:29:35 +00:00
netinet Fix sysctl comment field, s/the the/then the 2001-09-04 15:25:23 +00:00
netinet6 Patches from Keiichi SHIMA <keiichi@iij.ad.jp> 2001-09-03 20:03:55 +00:00
netipx Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
netkey printed current sequence number of the SA. accordingly, changed 2001-08-06 19:40:01 +00:00
netnatm Change a couple of M_WAITOKs used in M_PREPEND() to M_TRYWAITs, which 2001-04-05 04:20:48 +00:00
netncp Mark some functions as __printflike() and/or taking const char * arguments 2001-08-20 12:53:36 +00:00
netns
netsmb Map errdos:67 to the ENOENT. 2001-08-21 09:16:57 +00:00
nfs Pushdown Giant for nfs syscalls (nfssvc()) 2001-08-31 22:39:36 +00:00
nfsclient Pushdown Giant for nfs syscalls (nfssvc()) 2001-08-31 22:39:36 +00:00
nfsserver Pushdown Giant for nfs syscalls (nfssvc()) 2001-08-31 22:39:36 +00:00
pc98 Zap #if 0'ed map init code that got moved to the MI area. 2001-09-04 08:42:35 +00:00
pccard Make the csc and function interrupts ISA on shutdown. This should 2001-09-04 17:46:31 +00:00
pci Add support for Conexant LANfinity miniPCI controllers. People who have 2001-09-04 17:10:11 +00:00
posix4 Protect pri_to_rtp() with sched_lock when needed. 2001-09-02 00:52:11 +00:00
powerpc Zap #if 0'ed map init code that got moved to the MI area. 2001-09-04 08:42:35 +00:00
rpc Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
sparc64 style(9) the structure names 2001-09-04 09:23:23 +00:00
svr4
sys Kill the NCCD constant by modernizing the ccd driver. 2001-09-04 08:33:30 +00:00
tools replace calls to non-existant bail() subroutine with calls to 2001-03-23 11:48:50 +00:00
ufs Use ACL_PERM_NONE instead of hardcoding 0 when initializing 2001-09-01 23:18:15 +00:00
vm Process priority is locked by the sched_lock, not the proc lock. 2001-09-01 20:16:30 +00:00
Makefile