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

Commit 747f0796 authored by Mike Isely's avatar Mike Isely Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (6205): pvrusb2: Fix oops in error leg cleanup

parent 289ea1f0
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -33,8 +33,10 @@ static void pvr2_context_destroy(struct pvr2_context *mp)
{
	if (mp->hdw) pvr2_hdw_destroy(mp->hdw);
	pvr2_trace(PVR2_TRACE_STRUCT,"Destroying pvr_main id=%p",mp);
	if (mp->workqueue) {
		flush_workqueue(mp->workqueue);
		destroy_workqueue(mp->workqueue);
	}
	kfree(mp);
}