summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJosé Expósito <jose.exposito89@gmail.com>2022-01-08 19:58:12 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-08 15:23:24 +0300
commit0728ccb66468b7a59959f9f4fb518ff9c655485f (patch)
tree9f2bd4f90a88b43dbcc28be66e38a1c7078463b2 /tools
parent51b82141fffa454abf937a8ff0b8af89e4fd0c8f (diff)
downloadlinux-0728ccb66468b7a59959f9f4fb518ff9c655485f.tar.xz
drm/selftests/test-drm_dp_mst_helper: Fix memory leak in sideband_msg_req_encode_decode
[ Upstream commit ba3a5ddcf1e5df31f2291006d5297ca62035584f ] 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 Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions