From c2a2f37b6590ed8fdb3447781c76b9aee3b4b7f5 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 9 Oct 2017 16:09:48 -0400 Subject: [PATCH] ospfd: Fix leak of route_node Signed-off-by: Donald Sharp --- ospfd/ospf_ri.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ospfd/ospf_ri.c b/ospfd/ospf_ri.c index d5769c866e..69f6883186 100644 --- a/ospfd/ospf_ri.c +++ b/ospfd/ospf_ri.c @@ -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; } -- 2.39.5