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

Commit baaa3dee authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mhi_dev: mhi: Fix memory leak in ep_pcie event handler"

parents b58312c7 a97d0a09
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1192,6 +1192,7 @@ void mhi_dev_sm_pcie_handler(struct ep_pcie_notify *notify)
		ep_pcie_mask_irq_event(mhi_sm_ctx->mhi_dev->phandle,
		ep_pcie_mask_irq_event(mhi_sm_ctx->mhi_dev->phandle,
				EP_PCIE_INT_EVT_MHI_A7, false);
				EP_PCIE_INT_EVT_MHI_A7, false);
		mhi_dev_notify_a7_event(mhi_sm_ctx->mhi_dev);
		mhi_dev_notify_a7_event(mhi_sm_ctx->mhi_dev);
		kfree(dstate_change_evt);
		goto exit;
		goto exit;
	default:
	default:
		MHI_SM_ERR("Invalid ep_pcie event, received 0x%x event\n",
		MHI_SM_ERR("Invalid ep_pcie event, received 0x%x event\n",