summaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorSurabhi Vishnoi <svishnoi@codeaurora.org>2018-04-26 09:46:39 +0530
committernshrivas <nshrivas@codeaurora.org>2018-05-09 08:33:07 -0700
commit38414106b6abfbe6b9574f008301e60787fdc303 (patch)
treef6a7b73098a7a0742559444b05e65fb7106d8c40 /lib/cpu-notifier-error-inject.c
parente92b56266b3a0f25da8d7fdd140dcbb485e5d429 (diff)
qcacmn: Fix memory leak in WMI
In case of invalid MIMO PS config in wmi cmd, wmi cmd is not sent and we return. This leads to memory leak as wmi net buf allocated is not freed before returning. Fix the memory leak by freeing the wmi net buf in such case before return. Change-Id: I7f353f0b4d84a663801482a9c28296371bea3b89 CRs-fixed: 2230346
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions