mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 19:00: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')
This commit is contained in:
parent
6813a4fe75
commit
01df4a5ad0
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