diff options
author | Dinghao Liu | 2021-01-02 07:27:22 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2021-01-12 18:21:54 +0100 |
commit | 15d0c52241ecb1c9d802506bff6f5c3f7872c0df (patch) | |
tree | 3cfa1edc0579b45429d855b1896b77c6b43ddd92 /virt | |
parent | cf73a660111c98f20cedb4abad7b46718c182333 (diff) |
media: media/pci: Fix memleak in empress_init
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>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions