diff options
author | José Expósito <jose.exposito89@gmail.com> | 2022-01-08 19:58:12 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2022-01-19 18:14:45 +0300 |
commit | ba3a5ddcf1e5df31f2291006d5297ca62035584f (patch) | |
tree | 92a7bb8b6228aaf657d5729d2cca57777e1ffb71 /Documentation/gpu/drm-internals.rst | |
parent | 8de223b94b8471b8f9b8cae6279e6fc08564ee67 (diff) | |
download | linux-ba3a5ddcf1e5df31f2291006d5297ca62035584f.tar.xz |
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 <jose.exposito89@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20220108165812.46797-1-jose.exposito89@gmail.com
Diffstat (limited to 'Documentation/gpu/drm-internals.rst')
0 files changed, 0 insertions, 0 deletions