qcacld-3.0: Fix possible memleak in lim_post_join_set_link_state_callback
The callback function lim_post_join_set_link_state_callback gets struct session_params as argument. This memory was dynamically allocated in lim_process_mlm_post_join_suspend_link. This is not freed in one case where the msg->bodyptr passed is freed but the nested callbackarg is not freed. Free the session_cb_param in the function lim_post_join_set_link_state_callback. Change-Id: I5a7c6ef54137822d9436d44c400b90c0e3e70c89 CRs-Fixed: 2296390
Loading
Please register or sign in to comment