mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-28 20:20:34 +01:00
supplicant: fix leaking handle in nm_supplicant_manager_create_interface()
Found by valgrind. Fixes:b83f07916a('supplicant: large rework of wpa_supplicant handling') (cherry picked from commit01df4a5ad0) (cherry picked from commit80a8a5d16d) (cherry picked from commit62d9c702b2)
This commit is contained in:
parent
02ff08b107
commit
90a94c7d89
1 changed files with 1 additions and 1 deletions
|
|
@ -395,7 +395,7 @@ _create_iface_complete(NMSupplMgrCreateIfaceHandle *handle,
|
|||
nm_clear_g_cancellable(&handle->cancellable);
|
||||
nm_ref_string_unref(handle->name_owner);
|
||||
|
||||
nm_g_slice_free_fcn(handle);
|
||||
nm_g_slice_free(handle);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue