Loading drivers/soc/qcom/glink.c +4 −0 Original line number Original line Diff line number Diff line Loading @@ -1653,6 +1653,8 @@ void ch_purge_intent_lists(struct channel_ctx *ctx) &ctx->local_rx_intent_list, list) { &ctx->local_rx_intent_list, list) { ctx->notify_rx_abort(ctx, ctx->user_priv, ctx->notify_rx_abort(ctx, ctx->user_priv, ptr_intent->pkt_priv); ptr_intent->pkt_priv); ctx->transport_ptr->ops->deallocate_rx_intent( ctx->transport_ptr->ops, ptr_intent); list_del(&ptr_intent->list); list_del(&ptr_intent->list); kfree(ptr_intent); kfree(ptr_intent); } } Loading Loading @@ -3667,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__, GLINK_INFO("%s: freeing transport [%s->%s]context\n", __func__, xprt_ctx->name, xprt_ctx->name, xprt_ctx->edge); xprt_ctx->edge); kfree(xprt_ctx->ops); xprt_ctx->ops = NULL; kfree(xprt_ctx); kfree(xprt_ctx); } } Loading Loading
drivers/soc/qcom/glink.c +4 −0 Original line number Original line Diff line number Diff line Loading @@ -1653,6 +1653,8 @@ void ch_purge_intent_lists(struct channel_ctx *ctx) &ctx->local_rx_intent_list, list) { &ctx->local_rx_intent_list, list) { ctx->notify_rx_abort(ctx, ctx->user_priv, ctx->notify_rx_abort(ctx, ctx->user_priv, ptr_intent->pkt_priv); ptr_intent->pkt_priv); ctx->transport_ptr->ops->deallocate_rx_intent( ctx->transport_ptr->ops, ptr_intent); list_del(&ptr_intent->list); list_del(&ptr_intent->list); kfree(ptr_intent); kfree(ptr_intent); } } Loading Loading @@ -3667,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__, GLINK_INFO("%s: freeing transport [%s->%s]context\n", __func__, xprt_ctx->name, xprt_ctx->name, xprt_ctx->edge); xprt_ctx->edge); kfree(xprt_ctx->ops); xprt_ctx->ops = NULL; kfree(xprt_ctx); kfree(xprt_ctx); } } Loading