r152 - trunk
Petter Reinholdtsen
pere at moszumanska.debian.org
Sat Jan 11 21:46:52 UTC 2014
Author: pere
Date: 2014-01-11 21:46:52 +0000 (Sat, 11 Jan 2014)
New Revision: 152
Modified:
trunk/killrpath.c
Log:
Fix file descriptor leak (Coverity CID 1153652).
Modified: trunk/killrpath.c
===================================================================
--- trunk/killrpath.c 2014-01-11 21:43:27 UTC (rev 151)
+++ trunk/killrpath.c 2014-01-11 21:46:52 UTC (rev 152)
@@ -91,6 +91,7 @@
|| write(fd, dyns, PHDR(p_filesz)) != (int)PHDR(p_filesz))
{
perror ("writing dynamic section");
+ elf_close(fd);
return 1;
}
More information about the Chrpath-commits
mailing list