diff options
author | José Expósito <[email protected]> | 2022-01-08 17:58:12 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2022-01-19 16:14:45 +0100 |
commit | ba3a5ddcf1e5df31f2291006d5297ca62035584f (patch) | |
tree | 92a7bb8b6228aaf657d5729d2cca57777e1ffb71 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 8de223b94b8471b8f9b8cae6279e6fc08564ee67 (diff) |
drm/selftests/test-drm_dp_mst_helper: Fix memory leak in sideband_msg_req_encode_decode
Avoid leaking the "out" variable if it is not possible to allocate
the "txmsg" variable.
Fixes: 09234b88ef55 ("drm/selftests/test-drm_dp_mst_helper: Move 'sideband_msg_req_encode_decode' onto the heap")
Addresses-Coverity-ID: 1475685 ("Resource leak")
Signed-off-by: José Expósito <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions