From 0c2eece03b64af7bd795a2d0d07de4b050eb36c4 Mon Sep 17 00:00:00 2001 From: Venkata Sharath Chandra Manchala Date: Thu, 9 Mar 2017 17:30:52 -0800 Subject: [PATCH] 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 --- core/dp/txrx/ol_txrx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/dp/txrx/ol_txrx.c b/core/dp/txrx/ol_txrx.c index f5e2e2c40f0a..9db834395b0a 100644 --- a/core/dp/txrx/ol_txrx.c +++ b/core/dp/txrx/ol_txrx.c @@ -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; }