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:33:47 +0100
commitc17315d555c812f8b14d36a34856f8030ecbfdc5 (patch)
tree526a4870c3c9a7f7018646913a96c9096d8344d4
parent55845e84da4e10481947f49a092751e92cb3ac52 (diff)
platform: fix wrong cleanup function in ip_route_get()
-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 e66ab94491..fe270e88dd 100644
--- a/src/platform/nm-linux-platform.c
+++ b/src/platform/nm-linux-platform.c
@@ -6416,7 +6416,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));