diff options
| author | Vignesh Viswanathan <viswanat@codeaurora.org> | 2018-10-16 17:09:14 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-11-05 17:20:35 -0800 |
| commit | b38a232b23330bdc7ed0a2fcbca9e91f8eeeb77c (patch) | |
| tree | 0fd5a4340eca119c1725e86a60dcd594eaf18edc /net/unix/af_unix.c | |
| parent | a633e2d4bda3c77441fc520135c92e8a8fc06cfb (diff) | |
qcacld-3.0: Free sta_self_wmi_rsp if WMA_DELETE_STA_REQ is not queued
In wma_self_peer_remove, sta_self_wmi_rsp is allocated and sent as
params to wma_fill_hold_req for WMA_DELETE_STA_REQ. However, if
wma_fill_hold_req fails and returns NULL, the memory allocated for
sta_self_wmi_rsp is not freed leading to memory leak.
Free sta_self_wmi_rsp in the error handling case for wma_fill_hold_req
in wma_self_peer_remove.
Change-Id: I8df840b39284e00a8c8be114c0fec13c3c199fc6
CRs-Fixed: 2334580
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
