mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 05:10:17 +01:00
trivial: use nl_cache_free instead of nl_cache_put
nl_cache_put is not present in older but still supported libnl releases.
This commit is contained in:
parent
4aa91e22a0
commit
5cc26c60ef
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ get_kernel_object (struct nl_sock *sock, struct nl_object *needle)
|
|||
g_return_val_if_fail (!nle, NULL);
|
||||
object = nl_cache_search (cache, needle);
|
||||
|
||||
nl_cache_put (cache);
|
||||
nl_cache_free (cache);
|
||||
return object;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue