diff options
author | Pan Bian <[email protected]> | 2021-01-20 20:50:05 -0800 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2021-02-02 19:33:44 +0100 |
commit | 745ed17a04f966406c8c27c8f992544336c06013 (patch) | |
tree | 8a895e5e2f981e1e20f841327c11971dbbfa0f36 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | eabe533904cbcb6c7df530fd807cf2a3c3567d35 (diff) |
platform/x86: amd-pmc: put device on error paths
Put the PCI device rdev on error paths to fix potential reference count
leaks.
Signed-off-by: Pan Bian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions