aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/dpdk')
-rw-r--r--src/plugins/dpdk/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dpdk/main.c b/src/plugins/dpdk/main.c
index 72dffca7c4d..2bea10185cd 100644
--- a/src/plugins/dpdk/main.c
+++ b/src/plugins/dpdk/main.c
@@ -132,7 +132,7 @@ check_hugetlb:
goto error;
}
else
- clib_mem_vm_free (alloc.addr, 1 << alloc.log2_page_size);
+ clib_mem_vm_ext_free (&alloc);
goto done;