summaryrefslogtreecommitdiff
path: root/proto/ospf/neighbor.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2023-04-20 21:08:38 +0200
committerMaria Matejka <mq@ucw.cz>2023-04-22 20:49:58 +0200
commit1141ce4e2d924f29e6e31ccf5e325f870c8895dd (patch)
tree4d985af0d0008ca3468c614f157ef92f50b7df49 /proto/ospf/neighbor.c
parentb3f805ce29487f790090fcf31096f5a7cf1d585d (diff)
Resource pool closing has its dedicated function
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r--proto/ospf/neighbor.c2
1 files changed, 1 insertions, 1 deletions
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);
}