From 5b51cf7c9c05b3c54f76c362110ec46bcfa39dab Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 10 Oct 2017 17:08:32 -0400 Subject: [PATCH] ospfd: We should not be deleting ospf->oiflist 2 times The ospf->oiflist deletion is happening 2 times now. Let's delete it once only. Signed-off-by: Donald Sharp --- ospfd/ospfd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index 0a9a53dbb2..e74f13c961 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c @@ -737,7 +737,6 @@ static void ospf_finish_final(struct ospf *ospf) list_delete_and_null(&ospf->areas); list_delete_and_null(&ospf->oi_write_q); - list_delete_and_null(&ospf->oiflist); for (i = ZEBRA_ROUTE_SYSTEM; i <= ZEBRA_ROUTE_MAX; i++) { struct list *ext_list; -- 2.39.5