r153 - trunk

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


Author: pere
Date: 2014-01-11 21:48:16 +0000 (Sat, 11 Jan 2014)
New Revision: 153

Modified:
   trunk/killrpath.c
Log:
Fix memory leak (Coverity CID 254331).

Modified: trunk/killrpath.c
===================================================================
--- trunk/killrpath.c	2014-01-11 21:46:52 UTC (rev 152)
+++ trunk/killrpath.c	2014-01-11 21:48:16 UTC (rev 153)
@@ -63,6 +63,7 @@
        || read(fd, dyns, PHDR(p_filesz)) != (int)PHDR(p_filesz))
      {
        perror ("reading dynamic section");
+       free(dyns);
        return 1;
      }
 




More information about the Chrpath-commits mailing list