Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4e361657 authored by David Ellingsworth's avatar David Ellingsworth Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (13067): radio-mr800: fix potential use after free

parent 26452bfe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -273,8 +273,8 @@ static void usb_amradio_disconnect(struct usb_interface *intf)
	mutex_unlock(&radio->lock);

	usb_set_intfdata(intf, NULL);
	video_unregister_device(&radio->videodev);
	v4l2_device_disconnect(&radio->v4l2_dev);
	video_unregister_device(&radio->videodev);
}

/* vidioc_querycap - query device capabilities */