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:
Pavel Šimerda
2013-04-15 13:46:50 +02:00
parent 4aa91e22a0
commit 5cc26c60ef

View File

@@ -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;
}
}