aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/main.c
diff options
context:
space:
mode:
authorHaiyang Tan <haiyangtan@tencent.com>2018-10-09 19:09:45 -0700
committerDamjan Marion <dmarion@me.com>2018-10-10 21:32:46 +0000
commit642829de7958d5cd9c1c88f9845385882a7c211d (patch)
tree31f7b391e76fa6ce4973df95dee528653d9bf9f7 /src/plugins/dpdk/main.c
parentcd80692dfccb31a1200a2c8701151705765e51bc (diff)
vppinfra: introduce clib_mem_vm_ext_free() to avoid fd leaks
Change-Id: I8691a10493d159a97574550c111f07722960a7cd Signed-off-by: Haiyang Tan <haiyangtan@tencent.com>
Diffstat (limited to 'src/plugins/dpdk/main.c')
-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;