diff options
author | Florin Coras <fcoras@cisco.com> | 2019-04-25 12:58:46 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-04-26 10:23:38 +0000 |
commit | b095a3cd221a142f7d2b4897b812b2781de05d29 (patch) | |
tree | 87a1cdc9872c91d46c771cd9b224c62a35d6af7d /src/vppinfra | |
parent | 403e3ba1507750df463d7179494c14d03864b810 (diff) |
svm: fifo segment support for chunk allocation
Change-Id: Ie96706b4d8bcb32d2d5f065bc765f95f4e9369e7
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vppinfra')
-rw-r--r-- | src/vppinfra/rbtree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vppinfra/rbtree.c b/src/vppinfra/rbtree.c index 95e9d10967b..5bb2e875e86 100644 --- a/src/vppinfra/rbtree.c +++ b/src/vppinfra/rbtree.c @@ -401,8 +401,8 @@ rb_tree_n_nodes (rb_tree_t * rt) void rb_tree_free_nodes (rb_tree_t * rt) { - rb_node_t *n; - pool_flush (n, rt->nodes,;); + pool_free (rt->nodes); + rt->root = RBTREE_TNIL_INDEX; } void |