Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb7815ac authored by Pragaspathi Thilagaraj's avatar Pragaspathi Thilagaraj Committed by Gerrit - the friendly Code Review server
Browse files

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
parent 69466003
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment