]> git.proxmox.com Git - mirror_frr.git/commitdiff
ospfd: Fix leak of route_node
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 9 Oct 2017 20:09:48 +0000 (16:09 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 10 Oct 2017 16:31:36 +0000 (12:31 -0400)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
ospfd/ospf_ri.c

index d5769c866e3609f77faeb0f29ccfa6ad679eee96..69f688318654be787a66c784bbe3e2a65a934307 100644 (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;
        }