mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 00:20:11 +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)
This commit is contained in:
parent
1e0252fa8f
commit
80a8a5d16d
1 changed files with 1 additions and 1 deletions
|
|
@ -382,7 +382,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