Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

[nrf noup] zephyr: Fix memory leak #173

Merged
merged 1 commit into from
May 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/drivers/driver_zephyr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1603,9 +1603,16 @@ static int wpa_drv_zep_send_action(void *priv, unsigned int freq,
os_memcpy(hdr->addr3, bssid, ETH_ALEN);


return dev_ops->send_mlme(if_ctx->dev_priv, buf, 24 + data_len,
ret = dev_ops->send_mlme(if_ctx->dev_priv, buf, 24 + data_len,
0, freq, no_cck, 1,
wait_time, 0);
if (ret) {
wpa_printf(MSG_ERROR, "wpa_supp: Failed to send Action frame: %d", ret);
}

os_free(buf);

return ret;
}

static int nl80211_get_ext_capab(void *priv, enum wpa_driver_if_type type,
Expand Down
Loading