freebsd-nq/lib
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
..
compat /usr/lib/compat -> /usr/lib/compat/aout 1998-09-26 11:54:02 +00:00
csu Make profiling work for ELF. gprof now autodetects the format of 1998-09-07 23:32:00 +00:00
libalias Remove OpenBSD build support - let the Makefile vary per 1998-08-31 12:14:30 +00:00
libatm Add new files for HARP3 1998-09-15 08:23:17 +00:00
libbind Sigh, mkdep doesn't know about all the CFLAGS to pass during depend 1998-06-11 10:39:32 +00:00
libc Fix a memory leak 1998-10-07 01:30:02 +00:00
libc_r Debug when an environment variable set, no when it is unset. 1998-09-30 19:17:51 +00:00
libcalendar .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq 1998-03-19 07:34:22 +00:00
libcam Remove scsi_da.c from the list of things compiled into the CAM library. 1998-09-18 22:29:35 +00:00
libcom_err Remove definition of malloc and realloc. Instead include stdlib.h. 1998-09-11 05:39:08 +00:00
libcompat Change ${MACHINE} into ${MACHINE_ARCH} to support MACHINE=pc98. 1998-09-09 11:27:33 +00:00
libcrypt Fixed the elf case of the creation of the libcrypt.so -> libscrypt->so 1998-09-02 15:09:15 +00:00
libcurses $* -> ${.PREFIX} 1998-09-11 05:40:12 +00:00
libdevstat Change the devstat generation number from an int to a long. The int-sized 1998-09-20 00:11:23 +00:00
libdisk Teach libdisk about alpha boot blocks. 1998-10-06 11:57:08 +00:00
libedit Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
libf2c Resurrect exit.c 1998-04-29 22:43:18 +00:00
libF77 Resurrect exit.c 1998-04-29 22:43:18 +00:00
libfetch Bring the man page more or less up to date with the code. 1998-09-26 20:42:44 +00:00
libftpio Correctly figure out that the remove cannot do passive mode. 1998-04-11 07:28:53 +00:00
libgnumalloc Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
libI77 Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
libipx Fixed printf format errors. 1998-06-30 18:06:23 +00:00
libkse Revise test code for sigwait and add test code for sigsuspend. 1998-09-30 07:08:09 +00:00
libkvm Adjust the declarations of kvm_read and kvm_write to match reality a little 1998-09-16 09:30:14 +00:00
libm Change MACHINE to MACHINE_ARCH when testing for i386 to support 1998-09-05 08:35:53 +00:00
libmd $@ -> ${.TARGET} 1998-09-11 05:42:37 +00:00
libmytinfo Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
libncurses $@ -> ${.TARGET} 1998-09-11 05:42:37 +00:00
libopie Move locks from /etc/opielocks to /var/run/opielocks to keep 1997-10-01 13:02:20 +00:00
libpam/modules .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
libpcap Bump minor version number and add version.c to update to version 0.4 1998-09-15 19:34:01 +00:00
libpthread Debug when an environment variable set, no when it is unset. 1998-09-30 19:17:51 +00:00
libresolv Yet another attempt to remove the old libraries correctly. libfoo.* 1996-10-08 20:06:41 +00:00
librpcsvc Toss publickey.c in the attic and remove it from the Makefile. 1998-05-18 21:59:53 +00:00
libskey BINFORMAT -> OBJFORMAT ready for E-day. 1998-08-30 01:57:55 +00:00
libss Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
libstand Enable the DOS filesystem. This allows reading from various DOS filesystems 1998-10-06 19:23:57 +00:00
libtelnet While I am no longer making a shared library, it is a good plan to nuke 1998-08-30 13:07:16 +00:00
libtermcap Define PBUFSIZ in terms of MAXPATHLEN rather than hard coding it to 1998-09-11 05:44:41 +00:00
libutil Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
libvgl .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq 1998-03-19 07:34:22 +00:00
libxpg4 I have added the support for BIG5 encoding into libc/libxpg4/mklocale. 1998-08-15 12:51:49 +00:00
liby Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
libz Allow minigzip to be invoked more like gzip, checking to see 1998-09-29 04:56:30 +00:00
msun There is no alpha asm code like on i386, so all the functions that 1998-05-10 23:46:01 +00:00
ncurses/ncurses Renamed the generated include file keys.tries to keys.tries.h so 1998-03-20 16:50:08 +00:00
Makefile Add libdisk back to alpha build. 1998-10-01 14:49:57 +00:00
Makefile.inc