mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 10:20:11 +01:00
device/wifi: fix leak of NMSupplicantPeerInfo.peer_path in NMSupplicantInterface
Fixes:b83f07916a('supplicant: large rework of wpa_supplicant handling') (cherry picked from commit3cf8620294)
This commit is contained in:
parent
9cd4968b7b
commit
4b11029df9
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue