/* Reset interface. */
for (ALL_LIST_ELEMENTS(ospf->oiflist, node, nnode, oi))
ospf_if_free(oi);
+ list_delete(ospf->oiflist);
/* De-Register VRF */
ospf_zebra_vrf_deregister(ospf);
if (!CHECK_FLAG(om->options, OSPF_MASTER_SHUTDOWN))
instance = ospf->instance;
+ list_delete(ospf->oi_write_q);
+
ospf_delete(ospf);
if (ospf->name) {
struct route_node *rn;
struct ospf_lsa *lsa;
+ ospf_opaque_type10_lsa_term(area);
+
/* Free LSDBs. */
LSDB_LOOP(ROUTER_LSDB(area), rn, lsa)
ospf_discard_from_db(area->ospf, area->lsdb, lsa);