summaryrefslogtreecommitdiff
path: root/security/selinux/xfrm.c
diff options
context:
space:
mode:
authorJiasheng Jiang <jiashengjiangcool@gmail.com>2025-02-18 18:58:09 +0000
committerHans Verkuil <hverkuil@xs4all.nl>2025-02-21 10:33:02 +0100
commit4936cd5817af35d23e4d283f48fa59a18ef481e4 (patch)
tree2a78071a0958bd0137bd381f9d69c312b928e6f3 /security/selinux/xfrm.c
parent7b0ee2de7c76e5518e2235a927fd211bc785d320 (diff)
media: mediatek: vcodec: Fix a resource leak related to the scp device in FW initialization
On Mediatek devices with a system companion processor (SCP) the mtk_scp structure has to be removed explicitly to avoid a resource leak. Free the structure in case the allocation of the firmware structure fails during the firmware initialization. Fixes: 53dbe0850444 ("media: mtk-vcodec: potential null pointer deference in SCP") Cc: stable@vger.kernel.org Signed-off-by: Jiasheng Jiang <jiashengjiangcool@gmail.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'security/selinux/xfrm.c')
0 files changed, 0 insertions, 0 deletions