diff options
author | Keita Suzuki <keitasuzuki.park@sslab.ics.keio.ac.jp> | 2020-09-09 14:56:57 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-11-26 14:26:19 +0100 |
commit | abf287eeff4c6da6aa804bbd429dfd9d0dfb6ea7 (patch) | |
tree | 09aabde5c3be9c074a52484af6f8c8fa34ac5071 /fs/fcntl.c | |
parent | 4fe21dec6c2830dfcad107ff1ba050c7328f122b (diff) | |
download | linux-stable-abf287eeff4c6da6aa804bbd429dfd9d0dfb6ea7.tar.gz linux-stable-abf287eeff4c6da6aa804bbd429dfd9d0dfb6ea7.tar.bz2 linux-stable-abf287eeff4c6da6aa804bbd429dfd9d0dfb6ea7.zip |
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: 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>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions