aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api/client/test.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2020-09-28 19:03:37 +0200
committerDamjan Marion <damarion@cisco.com>2020-09-28 20:34:07 +0200
commit4537c30925050ffa34c33e6a481f07f1ec0a01ff (patch)
tree0516dba983516dd12027cd59d18e514dcebe24de /src/vpp-api/client/test.c
parenta8af7cf253c4e8ab9ba1a2cfed50f6236fea3a62 (diff)
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 <damarion@cisco.com>
Diffstat (limited to 'src/vpp-api/client/test.c')
-rw-r--r--src/vpp-api/client/test.c2
1 files changed, 1 insertions, 1 deletions
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);