3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 23:09:34 +01:00

p2p: Free peer->wfd in p2p_peer_free

This commit is contained in:
Andrew Zaborowski 2020-09-21 21:04:22 +02:00 committed by Denis Kenzior
parent df0b64f8d0
commit 47596c67d3

View File

@ -256,6 +256,7 @@ static void p2p_peer_free(void *user_data)
struct p2p_peer *peer = user_data; struct p2p_peer *peer = user_data;
scan_bss_free(peer->bss); scan_bss_free(peer->bss);
l_free(peer->wfd);
l_free(peer->name); l_free(peer->name);
l_free(peer); l_free(peer);
} }