commit | ca26576bf0003c1148938c2e9231e182c0ab8a31 | [log] [tgz] |
---|---|---|
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | Sat Jan 02 07:27:22 2021 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Mar 03 18:22:41 2021 +0100 |
tree | 6464116ff67882b5354fce8662cc9eb9f9871b0e | |
parent | c03967eb83d115bcd3b3e9993175fd5efac78c92 [diff] |
media: media/pci: Fix memleak in empress_init [ Upstream commit 15d0c52241ecb1c9d802506bff6f5c3f7872c0df ] When vb2_queue_init() fails, dev->empress_dev should be released just like other error handling paths. Fixes: 2ada815fc48bb ("[media] saa7134: convert to vb2") Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>