mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-11 05:12:12 -05:00
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:
parent
b212d445fd
commit
0c2eece03b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue