From 5cc26c60efc91eef05c64853a662005e46f8c817 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20=C5=A0imerda?= Date: Mon, 15 Apr 2013 13:46:50 +0200 Subject: [PATCH] trivial: use nl_cache_free instead of nl_cache_put nl_cache_put is not present in older but still supported libnl releases. --- src/platform/nm-linux-platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c index b1a35c5f69..bb1b3608f3 100644 --- a/src/platform/nm-linux-platform.c +++ b/src/platform/nm-linux-platform.c @@ -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; } }