freebsd-nq/lib/libc/gen
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
..
__xuname.c
_rand48.c
_spinlock_stub.c
alarm.3
alarm.c
arc4random.3
arc4random.c
assert.c
clock.3
clock.c
closedir.c
confstr.3
confstr.c
crypt.3
crypt.c
ctermid.3
ctermid.c
daemon.3
daemon.c
devname.3
devname.c
directory.3
disklabel.c Don't cast int pointers to long pointers when reading labels from 1998-09-26 14:44:06 +00:00
dladdr.3
dlfcn.c
dlopen.3 Correct a typo that I noticed. 1998-09-15 00:24:19 +00:00
drand48.c
erand48.c
err.3 A small last-minute iitem for 3.0: 1998-09-12 21:02:22 +00:00
err.c Replace accidentally-deleted `x' which caused warnx() to misbehave. 1998-09-15 01:49:32 +00:00
errlst.c
exec.3
exec.c
fnmatch.3
fnmatch.c
frexp.3
fstab.c
ftok.3
ftok.c
fts-compat.c Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
fts-compat.h
fts.3
fts.c Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
getbootfile.3
getbootfile.c
getbsize.3
getbsize.c
getcap.3
getcap.c Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
getcwd.3
getcwd.c Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
getdiskbyname.3
getdomainname.3
getdomainname.c
getfsent.3
getgrent.3
getgrent.c Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
getgrouplist.3
getgrouplist.c
gethostname.3
gethostname.c
getloadavg.3
getloadavg.c
getlogin.c
getmntinfo.3
getmntinfo.c
getnetgrent.3
getnetgrent.c
getobjformat.3 Add a new library function getobjformat(). It checks all the 1998-09-09 01:21:25 +00:00
getobjformat.c Add a new library function getobjformat(). It checks all the 1998-09-09 01:21:25 +00:00
getosreldate.c
getpagesize.3
getpagesize.c
getpass.3
getpass.c
getpwent.3
getpwent.c Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
getttyent.3
getttyent.c
getusershell.3
getusershell.c
getvfsbyname.3
getvfsbyname.c
getvfsent.3
getvfsent.c
glob.3
glob.c
initgroups.3
initgroups.c
isatty.c
isinf.3
jrand48.c
lcong48.c
ldexp.3
lockf.3
lockf.c
lrand48.c
Makefile.inc Add a new library function getobjformat(). It checks all the 1998-09-09 01:21:25 +00:00
modf.3
mrand48.c
msgctl.3
msgctl.c
msgget.3
msgget.c
msgrcv.3
msgrcv.c
msgsnd.3
msgsnd.c
nice.3
nice.c
nlist.3
nlist.c
nrand48.c
ntp_gettime.c
opendir.c Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
pause.3
pause.c
popen.3
popen.c
psignal.3
psignal.c
pw_scan.c
pw_scan.h
pwcache.3
pwcache.c
raise.3
raise.c
rand48.3
rand48.h
readdir.c
rewinddir.c
scandir.3
scandir.c Fix a memory leak 1998-10-07 01:30:02 +00:00
seed48.c
seekdir.c
semconfig.c
semctl.c
semget.c
semop.c
setdomainname.c
setflags.c
setflagsbyname.c
sethostname.c
setjmp.3
setjmperr.c
setmode.3
setmode.c
setproctitle.3
setproctitle.c
shmat.c
shmctl.c
shmdt.c
shmget.c
siginterrupt.3
siginterrupt.c
siglist.c
signal.3
signal.c
sigsetops.3
sigsetops.c
sleep.3
sleep.c restore rev 1.23 to give clear SIGALRM handling example, 68 years 1998-09-08 09:44:46 +00:00
srand48.c
stringlist.3
stringlist.c Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
strtofflags.c
sysconf.3
sysconf.c
sysctl.3 `kern.maxproc' is not changeable from sysctl(8). 1998-09-29 05:16:45 +00:00
sysctl.c
sysctlbyname.c
syslog.3
syslog.c
tcgetpgrp.3
tcsendbreak.3
tcsetattr.3
tcsetpgrp.3
telldir.c
termios.c
time.3
time.c
times.3
times.c
timezone.3
timezone.c
ttyname.3
ttyname.c
ttyslot.c
tzset.3
ualarm.3
ualarm.c
uname.3
uname.c
unvis.3
unvis.c
usleep.3
usleep.c
utime.3
utime.c
valloc.3
valloc.c
vis.3
vis.c
wait3.c
wait.c
waitpid.c