From 1141ce4e2d924f29e6e31ccf5e325f870c8895dd Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Thu, 20 Apr 2023 21:08:38 +0200 Subject: Resource pool closing has its dedicated function --- proto/ospf/neighbor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/ospf/neighbor.c') diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c index b0fdc42f..2c73d251 100644 --- a/proto/ospf/neighbor.c +++ b/proto/ospf/neighbor.c @@ -120,7 +120,7 @@ ospf_neigh_down(struct ospf_neighbor *n) s_get(&(n->dbsi)); release_lsrtl(p, n); rem_node(NODE n); - rfree(n->pool); + rp_free(n->pool); OSPF_TRACE(D_EVENTS, "Neighbor %R on %s removed", rid, ifa->ifname); } -- cgit v1.2.3