qcacld-3.0: Fix memory leak in protocol stack due to cdf_mem_free removal

Fix memory leak in protocol stack due to cdf_mem_free removal.

CRs-Fixed: 987178
Change-Id: If2aa813322cbfea68001862098e6c0b18e6921ae
This commit is contained in:
Archana Ramachandran 2016-03-08 16:17:14 -08:00 • committed by Gerrit - the friendly Code Review server
commit 28ab41212d

View file

@ -5235,6 +5235,7 @@ QDF_STATUS wma_mc_process_msg(void *cds_context, cds_msg_t *msg)
case WMA_GW_PARAM_UPDATE_REQ:
wma_set_gateway_params(wma_handle,
(struct gateway_param_update_req *)msg->bodyptr);
qdf_mem_free(msg->bodyptr);
break;
case WMA_SET_EGAP_CONF_PARAMS:
wma_send_egap_conf_params(wma_handle,