Merge pull request #7379 from donaldsharp/isis_mem_leak

isisd: Fix memory leak on shutdown
This commit is contained in:
Renato Westphal 2020-10-24 15:28:18 -03:00 committed by GitHub
commit 8bc3b727ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -583,6 +583,8 @@ void isis_finish(struct isis *isis)
isis_vrf_unlink(isis, vrf); isis_vrf_unlink(isis, vrf);
} }
list_delete(&isis->area_list);
list_delete(&isis->init_circ_list);
XFREE(MTYPE_ISIS, isis); XFREE(MTYPE_ISIS, isis);
} }