From: Donald Sharp Date: Mon, 9 Oct 2017 20:09:48 +0000 (-0400) Subject: ospfd: Fix leak of route_node X-Git-Tag: frr-4.0-dev~219^2~2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=c2a2f37b6590ed8fdb3447781c76b9aee3b4b7f5;p=matthieu%2Ffrr.git ospfd: Fix leak of route_node Signed-off-by: Donald Sharp --- 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; }