summaryrefslogtreecommitdiffstats
path: root/isisd/isis_route.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-03-01 13:46:42 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-03-01 14:40:50 +0100
commitccb6c0e574ef63c27e4d196af654dfd212f05e99 (patch)
treea77640b2624415f13a315d36d4cc58f9268f3f68 /isisd/isis_route.c
parentospf6d: Fix write beyond data structure (diff)
downloadfrr-ccb6c0e574ef63c27e4d196af654dfd212f05e99.tar.xz
frr-ccb6c0e574ef63c27e4d196af654dfd212f05e99.zip
isisd: Clean up leaked memory
When in error path clean up the route table created. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to '')
-rw-r--r--isisd/isis_route.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/isisd/isis_route.c b/isisd/isis_route.c
index 4f82edaef..e3256f2d0 100644
--- a/isisd/isis_route.c
+++ b/isisd/isis_route.c
@@ -574,6 +574,7 @@ isis_route_validate_merge (struct isis_area *area, int family)
{
zlog_warn ("ISIS-Rte (%s) %s called for unknown family %d",
area->area_tag, __func__, family);
+ route_table_finish(merge);
return;
}