Browse Source

qcacmn: Fix memory leak for soc handle

Free the allocated memory for soc handle
in dp_soc_detach_wifi3

Change-Id: I555b9a7493338d064f2472704e24a5625800d081
CRs-Fixed: 2017582
Venkata Sharath Chandra Manchala 8 years ago
parent
commit
65bf2306f0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      dp/wifi3.0/dp_main.c

+ 1 - 0
dp/wifi3.0/dp_main.c

@@ -1439,6 +1439,7 @@ static void dp_soc_detach_wifi3(void *txrx_soc)
 	htt_soc_detach(soc->htt_handle);
 
 	dp_reo_desc_freelist_destroy(soc);
+	qdf_mem_free(soc);
 }
 
 /*