From dd4e60dd31b713547f66cba767d24042c4ec6b7d Mon Sep 17 00:00:00 2001 From: Tushnim Bhattacharyya Date: Tue, 22 Oct 2019 12:25:37 -0700 Subject: [PATCH] qcacld-3.0: Free the memory in wma_rx_invalid_peer_ind Free the memory in wma_rx_invalid_peer_ind in case the indication is dropped. Change-Id: I8e1d1fccd15e3af08b04d44670f31eb8f11fbe95 CRs-Fixed: 2550819 --- core/wma/src/wma_data.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/wma/src/wma_data.c b/core/wma/src/wma_data.c index d2ae6d5db3..f6471e7432 100644 --- a/core/wma/src/wma_data.c +++ b/core/wma/src/wma_data.c @@ -3181,6 +3181,7 @@ uint8_t wma_rx_invalid_peer_ind(uint8_t vdev_id, void *wh) wma_debug_rl("Ignore invalid peer indication as received more than once " QDF_MAC_ADDR_STR, QDF_MAC_ADDR_ARRAY(rx_inv_msg->ra)); + qdf_mem_free(rx_inv_msg); } return 0;