r151 - trunk
Petter Reinholdtsen
pere at moszumanska.debian.org
Sat Jan 11 21:43:27 UTC 2014
Author: pere
Date: 2014-01-11 21:43:27 +0000 (Sat, 11 Jan 2014)
New Revision: 151
Modified:
trunk/chrpath.c
Log:
Fix file descriptor leak (Coverity CID 1153653).
Modified: trunk/chrpath.c
===================================================================
--- trunk/chrpath.c 2014-01-11 21:42:06 UTC (rev 150)
+++ trunk/chrpath.c 2014-01-11 21:43:27 UTC (rev 151)
@@ -252,6 +252,7 @@
perror ("writing RPATH");
free(dyns);
free(strtab);
+ elf_close(fd);
return 1;
}
printf("%s: new %s: %s\n", filename,
More information about the Chrpath-commits
mailing list