r158 - trunk
Petter Reinholdtsen
pere at moszumanska.debian.org
Sat Jan 11 22:26:52 UTC 2014
Author: pere
Date: 2014-01-11 22:26:52 +0000 (Sat, 11 Jan 2014)
New Revision: 158
Modified:
trunk/chrpath.c
Log:
Fix more file descriptor leak (Coverity CID 1153653).
Modified: trunk/chrpath.c
===================================================================
--- trunk/chrpath.c 2014-01-11 22:26:25 UTC (rev 157)
+++ trunk/chrpath.c 2014-01-11 22:26:52 UTC (rev 158)
@@ -97,6 +97,7 @@
if (dyns == NULL)
{
perror ("allocating memory for dynamic section");
+ elf_close(fd);
return 1;
}
memset(dyns, 0, PHDR(p_filesz));
More information about the Chrpath-commits
mailing list