summaryrefslogtreecommitdiff
path: root/ospfd/ospf_gr_helper.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-05-04 21:19:51 +0300
committerGitHub <noreply@github.com>2022-05-04 21:19:51 +0300
commit50f1f2e724f8614ada1a1a02dd28f1ff3af06e08 (patch)
tree8923363c95ef0fb10fd63fd549f580a834b3cca4 /ospfd/ospf_gr_helper.c
parentd98de984a908579ac1cd0c1a67f32e8381757c55 (diff)
parent8e3aae66cec563cee0add26482f279c4aae67cb1 (diff)
Merge pull request #11059 from anlancs/fix/bgpd-evnp-wrong-check-hashget
bgpd: fix memory leak for evpn
Diffstat (limited to 'ospfd/ospf_gr_helper.c')
-rw-r--r--ospfd/ospf_gr_helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_gr_helper.c b/ospfd/ospf_gr_helper.c
index 92236cf44f..624133ad6b 100644
--- a/ospfd/ospf_gr_helper.c
+++ b/ospfd/ospf_gr_helper.c
@@ -933,8 +933,8 @@ void ospf_gr_helper_support_set_per_routerid(struct ospf *ospf,
} else {
/* Add the routerid to the enable router hash table */
- hash_get(ospf->enable_rtr_list, &temp,
- ospf_enable_rtr_hash_alloc);
+ (void)hash_get(ospf->enable_rtr_list, &temp,
+ ospf_enable_rtr_hash_alloc);
}
}