wpa_supplicant: Fix misplaced os_free
os_free has wfd_dev_info_hex as an argument which is defined within CONFIG_NO_STDOUT_DEBUG Signed-hostap: Prashanth Kumar <prashanthkumar.kr@globaledgesoft.com>
This commit is contained in:
parent
8597ebdbd4
commit
1b56d398a7
1 changed files with 1 additions and 1 deletions
|
@ -1684,9 +1684,9 @@ static void wpas_dev_found(void *ctx, const u8 *addr,
|
||||||
info->dev_capab, info->group_capab,
|
info->dev_capab, info->group_capab,
|
||||||
wfd_dev_info_hex ? " wfd_dev_info=0x" : "",
|
wfd_dev_info_hex ? " wfd_dev_info=0x" : "",
|
||||||
wfd_dev_info_hex ? wfd_dev_info_hex : "");
|
wfd_dev_info_hex ? wfd_dev_info_hex : "");
|
||||||
#endif /* CONFIG_NO_STDOUT_DEBUG */
|
|
||||||
|
|
||||||
os_free(wfd_dev_info_hex);
|
os_free(wfd_dev_info_hex);
|
||||||
|
#endif /* CONFIG_NO_STDOUT_DEBUG */
|
||||||
|
|
||||||
wpas_notify_p2p_device_found(ctx, info->p2p_device_addr, new_device);
|
wpas_notify_p2p_device_found(ctx, info->p2p_device_addr, new_device);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue