summaryrefslogtreecommitdiffstats
path: root/isisd/isis_route.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-10-02 11:39:51 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2018-10-02 11:40:52 +0200
commit6a154c88122dd0a9e9deb4309e15b975ad169817 (patch)
tree25e32515503d2b9327ff43e335b4b5ceb4d74787 /isisd/isis_route.c
parentlib: remove deprecated list_delete()/list_free() (diff)
downloadfrr-6a154c88122dd0a9e9deb4309e15b975ad169817.tar.xz
frr-6a154c88122dd0a9e9deb4309e15b975ad169817.zip
*: list_delete_and_null() -> list_delete()
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'isisd/isis_route.c')
-rw-r--r--isisd/isis_route.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/isisd/isis_route.c b/isisd/isis_route.c
index b1225ae54..f9b4a2b14 100644
--- a/isisd/isis_route.c
+++ b/isisd/isis_route.c
@@ -253,13 +253,13 @@ static void isis_route_info_delete(struct isis_route_info *route_info)
if (route_info->nexthops) {
route_info->nexthops->del =
(void (*)(void *))isis_nexthop_delete;
- list_delete_and_null(&route_info->nexthops);
+ list_delete(&route_info->nexthops);
}
if (route_info->nexthops6) {
route_info->nexthops6->del =
(void (*)(void *))isis_nexthop6_delete;
- list_delete_and_null(&route_info->nexthops6);
+ list_delete(&route_info->nexthops6);
}
XFREE(MTYPE_ISIS_ROUTE_INFO, route_info);