summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_ri.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-10-09 22:09:48 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-10-10 18:31:36 +0200
commitc2a2f37b6590ed8fdb3447781c76b9aee3b4b7f5 (patch)
treeb6c6b06157b6e4b6b4ce2c7130fcabffc78e0b1a /ospfd/ospf_ri.c
parentospfd: Fix leak of stream (diff)
downloadfrr-c2a2f37b6590ed8fdb3447781c76b9aee3b4b7f5.tar.xz
frr-c2a2f37b6590ed8fdb3447781c76b9aee3b4b7f5.zip
ospfd: Fix leak of route_node
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_ri.c')
-rw-r--r--ospfd/ospf_ri.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospfd/ospf_ri.c b/ospfd/ospf_ri.c
index d5769c866..69f688318 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;
}