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

Fixes: b83f07916a ('supplicant: large rework of wpa_supplicant handling')
(cherry picked from commit 3cf8620294)
This commit is contained in:
Thomas Haller 2020-10-12 17:05:52 +02:00
parent 9cd4968b7b
commit 4b11029df9
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

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