Skip to content
Snippets Groups Projects
Commit c9458c6f authored by Nil Yi's avatar Nil Yi Committed by Mauro Carvalho Chehab
Browse files

media: rc: clean the freed urb pointer to avoid double free


After freed rx_urb, we should set the second interface urb to NULL,
otherwise a double free would happen when the driver is removed
from the first interface.

Signed-off-by: default avatarNil Yi <teroincn@163.com>
Signed-off-by: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent afae4ef7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment