On Mon, Jun 12, 2023 at 04:39:05PM +0300, ovidiu.panait@windriver.com wrote:
From: Dinghao Liu dinghao.liu@zju.edu.cn
commit 167faadfcf9339088910e9e85a1b711fcbbef8e9 upstream.
When device_create() fails, dvbdev and dvbdevfops should be freed just like when dvb_register_media_device() fails.
Signed-off-by: Dinghao Liu dinghao.liu@zju.edu.cn Signed-off-by: Sean Young sean@mess.org Signed-off-by: Mauro Carvalho Chehab mchehab+huawei@kernel.org Signed-off-by: Ovidiu Panait ovidiu.panait@windriver.com
drivers/media/dvb-core/dvbdev.c | 3 +++ 1 file changed, 3 insertions(+)
All queued up, thanks.
greg k-h