aboutsummaryrefslogtreecommitdiffstats
path: root/lib/librte_mempool/rte_mempool_ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_mempool/rte_mempool_ops.c')
-rw-r--r--lib/librte_mempool/rte_mempool_ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/librte_mempool/rte_mempool_ops.c b/lib/librte_mempool/rte_mempool_ops.c
index fd0b64cf..5f24de25 100644
--- a/lib/librte_mempool/rte_mempool_ops.c
+++ b/lib/librte_mempool/rte_mempool_ops.c
@@ -81,6 +81,7 @@ rte_mempool_register_ops(const struct rte_mempool_ops *h)
ops = &rte_mempool_ops_table.ops[ops_index];
snprintf(ops->name, sizeof(ops->name), "%s", h->name);
ops->alloc = h->alloc;
+ ops->free = h->free;
ops->enqueue = h->enqueue;
ops->dequeue = h->dequeue;
ops->get_count = h->get_count;