isisd: Clean up leaked memory

When in error path clean up the route table
created.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2017-03-01 07:46:42 -05:00
parent b95e5c8c69
commit ccb6c0e574

View File

@ -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;
}