summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/allocator
diff options
context:
space:
mode:
authorMichail Tatas <michail.tatas@gmail.com>2026-08-19 12:28:12 +0300
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-10-04 17:32:43 +0200
commit96f6b5e2295996a9e2dd1e2382d3872f98cbb554 (patch)
tree121d80d6d24c0b88f87bfdb1b9c95a0035cdf6d7 /rust/kernel/alloc/allocator
parent7c7f31405b76acd95a628c834ee8a2d6da439782 (diff)
media: verisilicon: rockchip: Fix leaks in init
If one of the dma_alloc_coherent in the init function fails then the previously allocated ones leak. Fix by freeing them in the error path. Fixes: 727a400686a2 ("media: verisilicon: Add Rockchip AV1 decoder") Cc: stable@vger.kernel.org Signed-off-by: Michail Tatas <michail.tatas@gmail.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions