r155 - trunk

Petter Reinholdtsen pere at moszumanska.debian.org
Sat Jan 11 22:04:40 UTC 2014


Author: pere
Date: 2014-01-11 22:04:40 +0000 (Sat, 11 Jan 2014)
New Revision: 155

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

Modified: trunk/killrpath.c
===================================================================
--- trunk/killrpath.c	2014-01-11 21:59:23 UTC (rev 154)
+++ trunk/killrpath.c	2014-01-11 22:04:40 UTC (rev 155)
@@ -92,6 +92,7 @@
        || write(fd, dyns, PHDR(p_filesz)) != (int)PHDR(p_filesz))
      {
        perror ("writing dynamic section");
+       free(dyns);
        elf_close(fd);
        return 1;
      }




More information about the Chrpath-commits mailing list