Skip to content
Commit b775d158 authored by Dan Carpenter's avatar Dan Carpenter Committed by Bjorn Andersson
Browse files

rpmsg: glink: Fix memory leak in qcom_glink_alloc_intent()



We need to free "intent" and "intent->data" on a couple error paths.

Fixes: 933b45da ("rpmsg: glink: Add support for TX intents")
Acked-by: default avatarSricharan R <sricharan@codeaurora.org>
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 0a7480bd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment