diff options
| author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2021-01-02 07:27:22 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-03 16:44:17 +0100 |
| commit | 667b1de3bcc8a3d45e82d06735891ab3bb8c4055 (patch) | |
| tree | 61917eeb233fecc85af00f0d8e4d1ade3f28e4f6 /scripts/patch-kernel | |
| parent | 70738fc740c653266611220438a0438e04d6ff00 (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>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
