summaryrefslogtreecommitdiffstats
path: root/tests/bgpd/test_bgp_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bgpd/test_bgp_table.c')
-rw-r--r--tests/bgpd/test_bgp_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bgpd/test_bgp_table.c b/tests/bgpd/test_bgp_table.c
index a0382827b..171b1aa22 100644
--- a/tests/bgpd/test_bgp_table.c
+++ b/tests/bgpd/test_bgp_table.c
@@ -134,7 +134,7 @@ static void do_test(struct bgp_table *table, const char *prefix,
check_lookup_result(list, arglist);
- list_delete_and_null(&list);
+ list_delete(&list);
va_end(arglist);