summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
Diffstat (limited to 'nest')
-rw-r--r--nest/cli.c2
-rw-r--r--nest/proto.c2
-rw-r--r--nest/rt-show.c2
-rw-r--r--nest/rt-table.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/nest/cli.c b/nest/cli.c
index 39a3eef7..29591d26 100644
--- a/nest/cli.c
+++ b/nest/cli.c
@@ -421,7 +421,7 @@ cli_free(cli *c)
c->sock = NULL;
}
else
- rfree(c->pool);
+ rp_free(c->pool);
}
/**
diff --git a/nest/proto.c b/nest/proto.c
index 280585dd..1b25dfe9 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -1116,7 +1116,7 @@ proto_cleanup(struct proto *p)
{
CALL(p->proto->cleanup, p);
- rfree(p->pool);
+ rp_free(p->pool);
p->pool = NULL;
p->active = 0;
diff --git a/nest/rt-show.c b/nest/rt-show.c
index a5c7dc8f..eacd4e31 100644
--- a/nest/rt-show.c
+++ b/nest/rt-show.c
@@ -227,7 +227,7 @@ rt_show_export_stopped_cleanup(struct rt_export_request *req)
req->hook = NULL;
/* And free the CLI (deferred) */
- rfree(d->cli->pool);
+ rp_free(d->cli->pool);
}
static int
diff --git a/nest/rt-table.c b/nest/rt-table.c
index b18727b1..cec13318 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -2027,7 +2027,7 @@ rt_export_stopped(struct rt_export_hook *hook)
rem_node(&hook->n);
/* Free the hook itself together with its pool */
- rfree(hook->pool);
+ rp_free(hook->pool);
}
static inline void