diff options
| author | Mark Wielaard <[email protected]> | 2015-06-18 23:43:39 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2015-06-19 13:11:22 +0200 |
| commit | a1f359ed0d456fc85f14d54e87a21ac9c0c4e553 (patch) | |
| tree | 144d15794fe7dbebc03f5298c6a7f7f019d8898c /tests/msg_tst.c | |
| parent | 222cd82a154bc1805fa1631e8fa0269482d5be27 (diff) | |
findtextrel: Don't leak memory in process_file.
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)
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests/msg_tst.c')
0 files changed, 0 insertions, 0 deletions
