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 <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2017-10-10 17:08:32 -04:00
parent 84519c8164
commit 5b51cf7c9c

View File

@ -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;