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

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

Merge "soc: qcom: glink: Free if_ptr before freeing dummy transport"

parents 36a5a89a b450564b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3669,6 +3669,8 @@ static void glink_dummy_xprt_ctx_release(struct rwref_lock *xprt_st_lock)
	GLINK_INFO("%s: freeing transport [%s->%s]context\n", __func__,
				xprt_ctx->name,
				xprt_ctx->edge);
	kfree(xprt_ctx->ops);
	xprt_ctx->ops = NULL;
	kfree(xprt_ctx);
}