linux_dsm_epyc7002/drivers/media/common/siano
Keita Suzuki 0736d6a86f media: siano: fix memory leak of debugfs members in smsdvb_hotplug
[ Upstream commit abf287eeff4c6da6aa804bbd429dfd9d0dfb6ea7 ]

When dvb_create_media_graph fails, the debugfs kept inside client should
be released. However, the current implementation does not release them.

Fix this by adding a new goto label to call smsdvb_debugfs_release.

Fixes: 0d3ab8410d ("[media] dvb core: must check dvb_create_media_graph()")
Signed-off-by: Keita Suzuki <keitasuzuki.park@sslab.ics.keio.ac.jp>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:53:22 +01:00
..
Kconfig
Makefile
sms-cards.c
sms-cards.h
smscoreapi.c
smscoreapi.h
smsdvb-debugfs.c
smsdvb-main.c media: siano: fix memory leak of debugfs members in smsdvb_hotplug 2020-12-30 11:53:22 +01:00
smsdvb.h
smsendian.c
smsendian.h
smsir.c
smsir.h