Skip to content
Commit cefdc951 authored by Nil Yi's avatar Nil Yi Committed by Mauro Carvalho Chehab
Browse files

media: rtl2832_sdr: clean the freed pointer and counter



After freed the dev->urb_list, we should set it to NULL as well as set
counter to zero.

Requested-by: default avatarSean Young <sean@mess.org>
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 69a10678
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment