Commit a485cb22 authored by lixiang's avatar lixiang Committed by Shrirang Bagul
Browse files

soc: qcom: hab: Fix potential memory leak when receiving msg

BugLink: https://bugs.launchpad.net/bugs/1952845



Fix potential memory leak situation when receiving a message of type
HAB_PAYLOAD_TYPE_EXPORT_ACK. Add kfree() to free ack_recvd.

Change-Id: Iaa5cb10af694b20647f2f04f3c030bfa2ba59a3d
Signed-off-by: default avatarlixiang <lixiang@codeaurora.org>
(cherry picked from commit 4fa65e88efa60b77e593a20257105b73a666fe22)
Signed-off-by: default avatarShrirang Bagul <shrirang.bagul@canonical.com>
parent 2ff20db5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment