summaryrefslogtreecommitdiffstats
path: root/isisd
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2020-10-24 20:28:18 +0200
committerGitHub <noreply@github.com>2020-10-24 20:28:18 +0200
commit8bc3b727ba05e52ff97e857f96d16e23b99601fc (patch)
tree563692f4c6a409f20c22f9299a9a47ba2ac5e060 /isisd
parentMerge pull request #7380 from Orange-OpenSource/ospf-sr (diff)
parentisisd: Fix memory leak on shutdown (diff)
downloadfrr-8bc3b727ba05e52ff97e857f96d16e23b99601fc.tar.xz
frr-8bc3b727ba05e52ff97e857f96d16e23b99601fc.zip
Merge pull request #7379 from donaldsharp/isis_mem_leak
isisd: Fix memory leak on shutdown
Diffstat (limited to 'isisd')
-rw-r--r--isisd/isisd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/isisd/isisd.c b/isisd/isisd.c
index 075daaec9..057ede0e3 100644
--- a/isisd/isisd.c
+++ b/isisd/isisd.c
@@ -583,6 +583,8 @@ void isis_finish(struct isis *isis)
isis_vrf_unlink(isis, vrf);
}
+ list_delete(&isis->area_list);
+ list_delete(&isis->init_circ_list);
XFREE(MTYPE_ISIS, isis);
}