summaryrefslogtreecommitdiff
path: root/proto/bgp
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/bgp
parentb3f805ce29487f790090fcf31096f5a7cf1d585d (diff)
Resource pool closing has its dedicated function
Diffstat (limited to 'proto/bgp')
-rw-r--r--proto/bgp/attrs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c
index 8bff4c78..4e6524f4 100644
--- a/proto/bgp/attrs.c
+++ b/proto/bgp/attrs.c
@@ -1867,7 +1867,7 @@ bgp_free_pending_tx(struct bgp_channel *c)
ASSERT_DIE(c->ptx);
ASSERT_DIE(c->ptx->pool);
- rfree(c->ptx->pool);
+ rp_free(c->ptx->pool);
c->ptx = NULL;
}