r149 - trunk

Petter Reinholdtsen pere at moszumanska.debian.org
Sat Jan 11 21:41:11 UTC 2014


Author: pere
Date: 2014-01-11 21:41:11 +0000 (Sat, 11 Jan 2014)
New Revision: 149

Modified:
   trunk/chrpath.c
Log:
Fix memory leak (Coverity CID 1153655).

Modified: trunk/chrpath.c
===================================================================
--- trunk/chrpath.c	2013-11-24 08:02:04 UTC (rev 148)
+++ trunk/chrpath.c	2014-01-11 21:41:11 UTC (rev 149)
@@ -196,6 +196,7 @@
         || write(fd, dyns, PHDR(p_filesz)) != (int)PHDR(p_filesz))
     {
       perror ("converting RPATH to RUNPATH");
+      free(strtab);
       return 1;
     }
     printf("%s: RPATH converted to RUNPATH\n", filename);




More information about the Chrpath-commits mailing list