diff options
| author | Arif Hussain <arifhussain@codeaurora.org> | 2016-11-29 17:02:11 -0800 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-12-01 22:33:23 -0800 |
| commit | 0ad1ef79786375ad63b3b78b595ca7c29b9d3399 (patch) | |
| tree | e5725938ea2bcfc67cbe0e37b3d0325a65e1a4d7 | |
| parent | ab1dd422a352b3c86baa054b49ac1da82fc7a892 (diff) | |
qcacld-3.0: Fix memory leak while processing WMA_SET_RSSI_MONITOR_REQ
Free msg->bodyptr in wma_mc_process_msg function for
WMA_SET_RSSI_MONITOR_REQ to avoid memory leak.
Change-Id: I7088a0ca54b374f2ef326ca344cedafe115d79d6
CRs-Fixed: 1095418
| -rw-r--r-- | core/wma/src/wma_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c index d196b5b70ff0..e8fce4d15b07 100644 --- a/core/wma/src/wma_main.c +++ b/core/wma/src/wma_main.c @@ -6846,6 +6846,7 @@ QDF_STATUS wma_mc_process_msg(void *cds_context, cds_msg_t *msg) case WMA_SET_RSSI_MONITOR_REQ: wma_set_rssi_monitoring(wma_handle, (struct rssi_monitor_req *)msg->bodyptr); + qdf_mem_free(msg->bodyptr); break; case WMA_FW_MEM_DUMP_REQ: wma_process_fw_mem_dump_req(wma_handle, |
