diff options
Diffstat (limited to 'proto/ospf/rt.c')
-rw-r--r-- | proto/ospf/rt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index 707e376c..21a3e300 100644 --- a/proto/ospf/rt.c +++ b/proto/ospf/rt.c @@ -2005,6 +2005,9 @@ again1: /* Remove unused rt entry, some special entries are persistent */ if (!nf->n.type && !nf->external_rte && !nf->area_net) { + if (nf->lsa_id) + idm_free(&p->idm, nf->lsa_id); + FIB_ITERATE_PUT(&fit); fib_delete(fib, nf); goto again1; |