qcacld-3.0: Fix the memory leak for soc handle

Free the allocated memory for soc handle
in ol_txrx_soc_detach

Change-Id: I023cb6a17cecf95f981956cd355fb57ec630db49
CRs-Fixed: 2017582
This commit is contained in:
Venkata Sharath Chandra Manchala 2017-03-09 17:30:52 -08:00 • committed by Sandeep Puligilla
commit 0c2eece03b

View file

@ -5142,7 +5142,7 @@ static int ol_txrx_soc_attach_target(ol_txrx_soc_handle soc)
*/
static void ol_txrx_soc_detach(void *soc)
{
/* MCL legacy OL do nothing here */
qdf_mem_free(soc);
return;
}