mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-11 13:20:20 +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) (cherry picked from commit4b11029df9)
This commit is contained in:
parent
c067e55205
commit
bd5da809ca
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue