2009-09-07 Steve Grubb <sgrubb@redhat.com>

* libmisc/copydir.c, lib/shadowmem.c, lib/groupmem.c, lib/pwmem.c:
	Fix some memory leaks.
This commit is contained in:
nekral-guest
2009-09-07 18:53:47 +00:00
parent 8806b07bd2
commit 1e6b107d99
5 changed files with 37 additions and 0 deletions

View File

@ -443,6 +443,7 @@ static char *readlink_malloc (const char *filename)
nchars = readlink (filename, buffer, size);
if (nchars < 0) {
free(buffer);
return NULL;
}