summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/test_heap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/test_heap.c')
-rw-r--r--src/vppinfra/test_heap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/test_heap.c b/src/vppinfra/test_heap.c
index 0fd6bf74245..00c896e5c9a 100644
--- a/src/vppinfra/test_heap.c
+++ b/src/vppinfra/test_heap.c
@@ -189,7 +189,7 @@ main (int argc, char *argv[])
vec_free (handles);
if (fixed_size)
- vec_free_h (h, sizeof (heap_header_t));
+ vec_free (h);
if (verbose)
fformat (stderr, "%U\n", format_clib_mem_usage, /* verbose */ 0);