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

Commit 401c27ce authored by Mike Isely's avatar Mike Isely Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (6207): pvrusb2: Fix a potential oops in an error leg cleanup

parent 747f0796
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2172,6 +2172,7 @@ static void pvr2_hdw_remove_usb_stuff(struct pvr2_hdw *hdw)
/* Destroy hardware interaction structure */
void pvr2_hdw_destroy(struct pvr2_hdw *hdw)
{
	if (!hdw) return;
	pvr2_trace(PVR2_TRACE_INIT,"pvr2_hdw_destroy: hdw=%p",hdw);
	if (hdw->fw_buffer) {
		kfree(hdw->fw_buffer);