diff options
| author | gaurank kathpalia <gkathpal@codeaurora.org> | 2019-06-06 17:50:06 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2019-06-06 11:39:17 -0700 |
| commit | c71c26cf9ab3e25d045fe3b8ad050a13026de380 (patch) | |
| tree | 641a7ae623c5f47ddc826cc12e14474132f40946 /kernel/sysctl_binary.c | |
| parent | 106ad9a0bbf75b81f9da0f661f3ee7cffd612153 (diff) | |
qcacld-3.0: Fix potential memory leak issues in driver code
Currently in these APIs, driver has a potential mem leak if
the code deviates from the success path:-
1. sme_ap_disable_intra_bss_fwd, param pSapDisableIntraFwd
was not freed in case of mutex acquire gets fail.
2. sme_set_wisa_params, param cds_msg_wisa_params was not freed
in case of mutex cquire fail, and in case of msg failed to
post to scheduler.
3. sme_update_sta_inactivity_timeout, param inactivity_time was
not freed in any case, and has to be freed after use.
4. wma_del_tdls_sta, param peerStateParams needs to be freed
in every failure case, in which the driver sends a del rsp in
error case.
Change-Id: Ibb6061dc399c0f408e7469e91d8084c82786a561
CRs-Fixed: 2466435
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
