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:
@@ -214,7 +214,7 @@ get_kernel_object (struct nl_sock *sock, struct nl_object *needle)
|
|||||||
g_return_val_if_fail (!nle, NULL);
|
g_return_val_if_fail (!nle, NULL);
|
||||||
object = nl_cache_search (cache, needle);
|
object = nl_cache_search (cache, needle);
|
||||||
|
|
||||||
nl_cache_put (cache);
|
nl_cache_free (cache);
|
||||||
return object;
|
return object;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user