Blob Blame History Raw
From abca0de3543a49157ca17b46313f7b9f77193abe Mon Sep 17 00:00:00 2001
From: Thomas Haller <thaller@redhat.com>
Date: Sun, 14 Jan 2018 15:17:14 +0100
Subject: [PATCH 1/1] platform: fix wrong cleanup function in ip_route_get()

Fixes: 33a2a7c3e3738b184233980a66f0093f073f97b1
(cherry picked from commit 3de3f59ffd9fdc02332ab928352a1b8f8ae77982)
(cherry picked from commit c17315d555c812f8b14d36a34856f8030ecbfdc5)
---
 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 e66ab9449..fe270e88d 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));
-- 
2.14.3