From 4537c30925050ffa34c33e6a481f07f1ec0a01ff Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Mon, 28 Sep 2020 19:03:37 +0200 Subject: vppinfra: don't call dlmalloc API directly from the code - it is confusing from end consumer perspective that some thing is somewhere called heap and somewhere mspace - this is base for additional work where heap pointer is not the same thing like mspace Type: improvement Change-Id: I644d5a0de17690d65d164d8cec3c5654571629ef Signed-off-by: Damjan Marion --- src/vpp-api/client/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vpp-api/client/test.c') diff --git a/src/vpp-api/client/test.c b/src/vpp-api/client/test.c index 6e74761fe24..67c3b68e48f 100644 --- a/src/vpp-api/client/test.c +++ b/src/vpp-api/client/test.c @@ -178,7 +178,7 @@ test_stats (void) vec_free(dir); (void) clib_mem_trace_enable_disable (0); - u8 *leak_report = format (0, "%U", format_mheap, clib_mem_get_heap (), + u8 *leak_report = format (0, "%U", format_clib_mem_heap, 0, 1 /* verbose, i.e. print leaks */ ); printf("%s", leak_report); vec_free (leak_report); -- cgit 1.2.3-korg