linux/drivers/media/common/siano
Keita Suzuki abf287eeff media: siano: fix memory leak of debugfs members in smsdvb_hotplug
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>
2020-11-26 14:26:19 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
sms-cards.c media: siano: rename a duplicated card string 2020-10-02 14:25:12 +02:00
sms-cards.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 185 2019-05-30 11:29:20 -07:00
smscoreapi.c media: siano: fix spelling mistake "ENBALE" -> "ENABLE" 2019-11-08 07:31:40 +01:00
smscoreapi.h media: siano: fix spelling mistake "ENBALE" -> "ENABLE" 2019-11-08 07:31:40 +01:00
smsdvb-debugfs.c media: siano: Use scnprintf() for avoiding potential buffer overflow 2020-03-20 16:28:07 +01:00
smsdvb-main.c media: siano: fix memory leak of debugfs members in smsdvb_hotplug 2020-11-26 14:26:19 +01:00
smsdvb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
smsendian.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
smsendian.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
smsir.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
smsir.h media: siano: Use the correct style for SPDX License Identifier 2019-11-10 17:46:45 +01:00