From c7d3a5b9688e094fde987d0caff2bfb826e7e4e1 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Thu, 16 Mar 2023 16:55:38 +0000 Subject: vppinfra: auto-free test memory Type: improvement Change-Id: Ibc40a02c8c45fc8d9409c9a86fea7aaf70d9c048 Signed-off-by: Damjan Marion --- src/vppinfra/test/test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vppinfra/test/test.h') diff --git a/src/vppinfra/test/test.h b/src/vppinfra/test/test.h index 7d54d80c6ec..a0e5f6db669 100644 --- a/src/vppinfra/test/test.h +++ b/src/vppinfra/test/test.h @@ -57,6 +57,7 @@ typedef struct u8 *filter; u8 *bundle; f64 ref_clock; + void **allocated_mem; } test_main_t; extern test_main_t test_main; @@ -102,6 +103,5 @@ test_perf_event_disable (test_perf_t *t) void *test_mem_alloc (uword size); void *test_mem_alloc_and_fill_inc_u8 (uword size, u8 start, u8 mask); void *test_mem_alloc_and_splat (uword elt_size, uword n_elts, void *elt); -void test_mem_free (void *p); #endif -- cgit 1.2.3-korg