Skip to content
Commit fdae6373 authored by Thomas Jarosch's avatar Thomas Jarosch Committed by Arnaldo Carvalho de Melo
Browse files

perf header: Fix memory leak for the "Not caching a kptr_restrict'ed /proc/kallsyms" case



cppcheck reported:
[util/header.c:316]: (error) Memory leak: filename
[util/header.c:316]: (error) Memory leak: linkname

Signed-off-by: default avatarThomas Jarosch <thomas.jarosch@intra2net.com>
Link: http://lkml.kernel.org/r/9377388.0eFDp53iW6@storm
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 0b9e01a4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment