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)
(cherry picked from commit bd5da809ca)
This commit is contained in:
Thomas Haller 2020-10-12 17:05:52 +02:00
parent 10a2e4a0e7
commit 32cb3805c7
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -844,6 +844,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);
}