diff --git a/core/mac/src/pe/lim/lim_api.c b/core/mac/src/pe/lim/lim_api.c index 0987902b891e..b8041c982f9f 100644 --- a/core/mac/src/pe/lim/lim_api.c +++ b/core/mac/src/pe/lim/lim_api.c @@ -618,7 +618,8 @@ void lim_cleanup(tpAniSirGlobal pMac) qdf_mutex_release(&pMac->lim.lim_frame_register_lock); qdf_list_destroy(&pMac->lim.gLimMgmtFrameRegistratinQueue); qdf_mutex_destroy(&pMac->lim.lim_frame_register_lock); - + qdf_mem_free(pMac->lim.gpLimRemainOnChanReq); + pMac->lim.gpLimRemainOnChanReq = NULL; lim_cleanup_mlm(pMac); /* free up preAuth table */