summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-01-14 15:17:14 +0100
committerThomas Haller <thaller@redhat.com>2018-01-15 20:29:26 +0100
commit3de3f59ffd9fdc02332ab928352a1b8f8ae77982 (patch)
tree39637bb6a196e49477439e549250d137c4b62073
parent345d34b36995103ca173f1a3ff07d02400c5d5f6 (diff)
downloadNetworkManager-3de3f59ffd9fdc02332ab928352a1b8f8ae77982.tar.gz
platform: fix wrong cleanup function in ip_route_get()
Fixes: 33a2a7c3e3738b184233980a66f0093f073f97b1
-rw-r--r--src/platform/nm-linux-platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c
index 3b692aee10..d2fc35e20f 100644
--- a/src/platform/nm-linux-platform.c
+++ b/src/platform/nm-linux-platform.c
@@ -6421,7 +6421,7 @@ ip_route_get (NMPlatform *platform,
int try_count = 0;
WaitForNlResponseResult seq_result;
int nle;
- nm_auto_nlmsg NMPObject *route = NULL;
+ nm_auto_nmpobj NMPObject *route = NULL;
nm_assert (NM_IS_LINUX_PLATFORM (platform));
nm_assert (NM_IN_SET (addr_family, AF_INET, AF_INET6));