Skip to content
Commit abf287ee authored by Keita Suzuki's avatar Keita Suzuki Committed by Mauro Carvalho Chehab
Browse files

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: 0d3ab841 ("[media] dvb core: must check dvb_create_media_graph()")
Signed-off-by: default avatarKeita Suzuki <keitasuzuki.park@sslab.ics.keio.ac.jp>
Signed-off-by: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 4fe21dec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment