mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
p2p: Free response frame payloads
This commit is contained in:
parent
c58b91dfd4
commit
311e91b944
@ -2169,6 +2169,7 @@ respond:
|
||||
p2p_go_negotiation_resp_err_done, NULL);
|
||||
|
||||
l_debug("GO Negotiation Response sent with status %i", status);
|
||||
l_free(resp_body);
|
||||
}
|
||||
|
||||
static void p2p_go_negotiation_confirm_done(int error, void *user_data)
|
||||
@ -2437,6 +2438,7 @@ static bool p2p_go_negotiation_resp_cb(const struct mmpdu_header *mpdu,
|
||||
p2p_peer_frame_xchg(dev->conn_peer, iov, dev->conn_peer->device_addr,
|
||||
0, 0, 0, false, FRAME_GROUP_CONNECT,
|
||||
p2p_go_negotiation_confirm_done, NULL);
|
||||
l_free(confirm_body);
|
||||
|
||||
p2p_free:
|
||||
p2p_clear_go_negotiation_resp(&resp_info);
|
||||
@ -2526,6 +2528,7 @@ static void p2p_start_go_negotiation(struct p2p_device *dev)
|
||||
p2p_go_negotiation_req_done,
|
||||
&p2p_frame_go_neg_resp,
|
||||
p2p_go_negotiation_resp_cb, NULL);
|
||||
l_free(req_body);
|
||||
}
|
||||
|
||||
static bool p2p_provision_disc_resp_cb(const struct mmpdu_header *mpdu,
|
||||
@ -2666,6 +2669,7 @@ static void p2p_start_provision_discovery(struct p2p_device *dev)
|
||||
p2p_provision_disc_req_done,
|
||||
&p2p_frame_pd_resp, p2p_provision_disc_resp_cb,
|
||||
NULL);
|
||||
l_free(req_body);
|
||||
}
|
||||
|
||||
static bool p2p_peer_get_info(struct p2p_peer *peer,
|
||||
|
Loading…
Reference in New Issue
Block a user