summaryrefslogtreecommitdiffstats
path: root/ripngd/ripng_nexthop.c
diff options
context:
space:
mode:
Diffstat (limited to 'ripngd/ripng_nexthop.c')
-rw-r--r--ripngd/ripng_nexthop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripngd/ripng_nexthop.c b/ripngd/ripng_nexthop.c
index 2e0841c5d..74a132aa9 100644
--- a/ripngd/ripng_nexthop.c
+++ b/ripngd/ripng_nexthop.c
@@ -72,7 +72,7 @@ struct list *ripng_rte_new(void)
void ripng_rte_free(struct list *ripng_rte_list)
{
- list_delete_and_null(&ripng_rte_list);
+ list_delete(&ripng_rte_list);
}
/* Delete RTE */