freebsd-skq/lib/libc
Julian Elischer 29595ffd90 Fix a memory leak
PR: 7923
Submitted by: Archie Cobbs <archie@whistle.com>

        The scandir() function returns -1 if it fails.
	In many cases when this happens, it does not free
	the memory that it allocated, resulting in a memory
	leak, or close the directory opened with opendir().
	BAD DOG, BAD!
1998-10-07 01:30:02 +00:00
..
alpha In libc_r, rename vfork syscall to _thread_sys_vfork and make vfork an alias 1998-09-12 22:03:20 +00:00
amd64 Simplify implementation and eliminate a register preservation problem. 1998-09-18 05:50:52 +00:00
compat-43 Add missing period. We don't allow maternity leaves. 1998-07-29 05:13:39 +00:00
db Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
gen Fix a memory leak 1998-10-07 01:30:02 +00:00
gmon Change a test for NETBSD_SYSCALLS to __alpha__. We're not ready to 1998-09-05 07:57:43 +00:00
i386 Simplify implementation and eliminate a register preservation problem. 1998-09-18 05:50:52 +00:00
include Implement compile time debug support for spinlocks. 1998-06-09 08:28:49 +00:00
locale Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
net 64bit portability fixes. 1998-10-05 18:35:04 +00:00
nls Provide meaningful errno value on error return 1998-07-14 18:27:43 +00:00
quad $@ -> ${.TARGET} 1998-09-11 05:34:37 +00:00
regex Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
rpc s/yellow pages/NIS/ 1998-09-17 08:29:16 +00:00
stdio program written under FreeBSD -> programs written under FreeBSD 1998-10-03 16:17:30 +00:00
stdlib Delete the XXX comments that refer to spinlock recursion. The malloc/free/ 1998-09-30 06:13:59 +00:00
stdtime Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
string Fix handling more than 1 char with non-C locale 1998-06-05 09:49:51 +00:00
sys Document the fact that shutdown(2) is expected to comply with Posix.1g, 1998-09-12 21:38:30 +00:00
xdr Add support for the RPC 64-bit integer type ``hyper''. 1998-09-08 17:33:12 +00:00
yp Fixed the usual missing dependencies on headers generated by rpcgen. 1998-05-09 15:10:53 +00:00
Makefile Change i386 in a few paths to ${MACHINE} to support MACHINE=pc98. 1998-09-09 11:22:28 +00:00
Makefile.inc Define empty variables in case no names are added to them. This avoids 1998-03-09 06:21:41 +00:00