summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSanskriti Sharma <sansharm@redhat.com>2018-10-02 10:29:11 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-21 09:27:31 +0100
commit7ce210a6beca436a4ecdc71138bf4a244e893e2c (patch)
tree193ce3daa08b84541e4ef6ef4a1d919b7537ba18 /arch
parentd05d8ef0c02eab3e63f11b4bcf0edb7b334bf52f (diff)
downloadlinux-stable-7ce210a6beca436a4ecdc71138bf4a244e893e2c.tar.gz
linux-stable-7ce210a6beca436a4ecdc71138bf4a244e893e2c.tar.bz2
linux-stable-7ce210a6beca436a4ecdc71138bf4a244e893e2c.zip
perf tools: Cleanup trace-event-info 'tdata' leak
[ Upstream commit faedbf3fd19f2511a39397f76359e4cc6ee93072 ] Free tracing_data structure in tracing_data_get() error paths. Fixes the following coverity complaint: Error: RESOURCE_LEAK (CWE-772): leaked_storage: Variable "tdata" going out of scope leaks the storage Signed-off-by: Sanskriti Sharma <sansharm@redhat.com> Reviewed-by: Jiri Olsa <jolsa@kernel.org> Cc: Joe Lawrence <joe.lawrence@redhat.com> Link: http://lkml.kernel.org/r/1538490554-8161-3-git-send-email-sansharm@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions