diff options
author | 2021-01-21 17:56:40 -0800 | |
---|---|---|
committer | 2021-01-26 15:45:54 +0200 | |
commit | 3d480fe1befa0ef434f5c25199e7d45c26870555 (patch) | |
tree | 17a1da93f01394698bf4d344264774db70069538 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Check for all subplatform bits (diff) | |
download | wireguard-linux-3d480fe1befa0ef434f5c25199e7d45c26870555.tar.xz wireguard-linux-3d480fe1befa0ef434f5c25199e7d45c26870555.zip |
drm/i915/selftest: Fix potential memory leak
Object out is not released on path that no VMA instance found. The root
cause is jumping to an unexpected label on the error path.
Fixes: a47e788c2310 ("drm/i915/selftests: Exercise CS TLB invalidation")
Signed-off-by: Pan Bian <bianpan2016@163.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20210122015640.16002-1-bianpan2016@163.com
(cherry picked from commit 2b015017d5cb01477a79ca184ac25c247d664568)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions