This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] findtextrel: Don't leak memory in process_file.


On Thu, 2015-06-18 at 23:47 +0200, Mark Wielaard wrote:
> When a files do contain textrels we fail to release the segments searched
> and valgrind will show:
> 
>  2,560 bytes in 16 blocks are definitely lost in loss record 1 of 1
>     at 0x40281B5: malloc (in vgpreload_memcheck-x86-linux.so)
>     by 0x804AE63: process_file (findtextrel.c:322)
>     by 0x804909B: main (findtextrel.c:149)

Pushed to master.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]