ospfd: Do not delete write_q 2 times either

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2017-10-10 17:35:19 -04:00
parent 5b51cf7c9c
commit 2e5faea372

View File

@ -768,8 +768,6 @@ static void ospf_finish_final(struct ospf *ospf)
if (!CHECK_FLAG(om->options, OSPF_MASTER_SHUTDOWN))
instance = ospf->instance;
list_delete_and_null(&ospf->oi_write_q);
ospf_delete(ospf);
if (ospf->name) {