]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
perf header: Fix memory leak for the "Not caching a kptr_restrict'ed /proc/kallsyms...
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 25 Jan 2013 10:21:39 +0000 (11:21 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 30 Jan 2013 13:40:18 +0000 (10:40 -0300)
commitfdae6373910c10e27b8ae07e11e821b183d0bba5
tree6faa0035aa4c58f2aff9eb7d6e8191292d1e01d0
parent0b9e01a4f0d1c8277da6824fe060ccb0434d2fde
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: Thomas Jarosch <thomas.jarosch@intra2net.com>
Link: http://lkml.kernel.org/r/9377388.0eFDp53iW6@storm
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/header.c