summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorAnton Vasilyev <vasilyev@ispras.ru>2018-07-27 18:45:36 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-19 22:48:57 +0200
commit7c075f0a0b37e8d868da9cc7dde23f27e341e193 (patch)
tree88167084e661aca68b62ea2ea47d48a16b460bbc /tools/perf/scripts/python/syscall-counts.py
parentccae23ff45ccd3e9c610c46ee8449c2617118daa (diff)
misc: ti-st: Fix memory leak in the error path of probe()
[ Upstream commit 81ae962d7f180c0092859440c82996cccb254976 ] Free resources instead of direct return of the error code if kim_probe fails. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions