diff options
author | Keita Suzuki <keitasuzuki.park@sslab.ics.keio.ac.jp> | 2020-09-09 15:56:57 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-30 13:53:22 +0300 |
commit | 0736d6a86fd36045383ba9579c55f7f47a8c3f97 (patch) | |
tree | 77b4eb72df7e640bbd9f854e2d7b621158831ac2 /drivers/platform | |
parent | bac43b0f1144aec4bc579c960eb25acba722e2cd (diff) | |
download | linux-0736d6a86fd36045383ba9579c55f7f47a8c3f97.tar.xz |
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: 0d3ab8410dcb ("[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>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions