ospfd: Fix leak of route_node

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2017-10-09 16:09:48 -04:00
parent 0760d3c963
commit c2a2f37b65

View File

@ -659,6 +659,7 @@ static int ospf_router_info_lsa_originate1(void *arg)
if (top == NULL) {
zlog_debug("%s: ospf instance not found for vrf id %u",
__PRETTY_FUNCTION__, vrf_id);
ospf_lsa_unlock(&new);
return rc;
}