device/wifi: fix leak of NMSupplicantPeerInfo.peer_path in NMSupplicantInterface

Fixes: b83f07916a ('supplicant: large rework of wpa_supplicant handling')
(cherry picked from commit 3cf8620294)
(cherry picked from commit 4b11029df9)
This commit is contained in:
Thomas Haller 2020-10-12 17:05:52 +02:00 committed by Beniamino Galvani
parent c067e55205
commit bd5da809ca

View file

@ -846,6 +846,8 @@ _peer_info_destroy (NMSupplicantPeerInfo *peer_info)
g_free (peer_info->serial);
g_bytes_unref (peer_info->ies);
nm_ref_string_unref (peer_info->peer_path);
nm_g_slice_free (peer_info);
}