On Tue, Feb 14, 2017 at 12:28 PM, Martin Liška wrote:
> Hi.
>
> The patch fixes:
>
> ==137424== 24 bytes in 1 blocks are definitely lost in loss record 23 of 748
>
> ==137424==at 0x4C29110: malloc (in
> /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
>
> ==137424==
t: [PATCH] Fix memory leak in LTO
gcc/lto/ChangeLog:
2017-02-14 Martin Liska <mli...@suse.cz>
* lto.c (do_stream_out): Free LTO file filename string.
---
gcc/lto/lto.c | 2 ++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c
index d77d85def