|
@@ -1375,8 +1375,10 @@ error:
|
|
if (lim_set_link_state
|
|
if (lim_set_link_state
|
|
(mac_ctx, eSIR_LINK_DOWN_STATE, session_entry->bssId,
|
|
(mac_ctx, eSIR_LINK_DOWN_STATE, session_entry->bssId,
|
|
session_entry->selfMacAddr, lim_join_result_callback,
|
|
session_entry->selfMacAddr, lim_join_result_callback,
|
|
- param) != eSIR_SUCCESS)
|
|
|
|
|
|
+ param) != eSIR_SUCCESS) {
|
|
|
|
+ qdf_mem_free(param);
|
|
pe_err("Failed to set the LinkState");
|
|
pe_err("Failed to set the LinkState");
|
|
|
|
+ }
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|