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

Commit d59384fb authored by Gustavo Solaira's avatar Gustavo Solaira Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: ipc_router_mhi_xprt: Avoid memory leak on read_data



Fix the memory leak issue by freeing the skb and packet
when the read fails or is the last normal empty read.

Change-Id: Ib23bb7ee253cd30b5d8b5b76d449b8b068d5fbba
Signed-off-by: default avatarGustavo Solaira <gustavos@codeaurora.org>
parent b26a24c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment