X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvppinfra%2Ftest%2Ftoeplitz.c;h=708fd0e60fc384c1222621b379c1a9f2124c052d;hb=c7d3a5b9688e094fde987d0caff2bfb826e7e4e1;hp=c1bd13fae8cb694cb8a39730e6b87151226a2e7b;hpb=f8b61fb538046e287063864349d43e98b62b5faf;p=vpp.git diff --git a/src/vppinfra/test/toeplitz.c b/src/vppinfra/test/toeplitz.c index c1bd13fae8c..708fd0e60fc 100644 --- a/src/vppinfra/test/toeplitz.c +++ b/src/vppinfra/test/toeplitz.c @@ -253,8 +253,6 @@ test_clib_toeplitz_hash (clib_error_t *err) done: clib_toeplitz_hash_key_free (k); - test_mem_free (bigkey); - test_mem_free (bigdata); return err; } @@ -272,8 +270,6 @@ perftest_fixed_12byte (test_perf_t *tp) test_perf_event_disable (tp); clib_toeplitz_hash_key_free (k); - test_mem_free (data); - test_mem_free (res); } void __test_perf_fn @@ -290,8 +286,6 @@ perftest_fixed_36byte (test_perf_t *tp) test_perf_event_disable (tp); clib_toeplitz_hash_key_free (k); - test_mem_free (data); - test_mem_free (res); } void __test_perf_fn @@ -314,9 +308,6 @@ perftest_variable_size (test_perf_t *tp) test_perf_event_disable (tp); clib_toeplitz_hash_key_free (k); - test_mem_free (data); - test_mem_free (res); - test_mem_free (key); } REGISTER_TEST (clib_toeplitz_hash) = { @@ -430,11 +421,6 @@ test_clib_toeplitz_hash_x4 (clib_error_t *err) done: clib_toeplitz_hash_key_free (k); - test_mem_free (bigkey); - test_mem_free (bigdata0); - test_mem_free (bigdata1); - test_mem_free (bigdata2); - test_mem_free (bigdata3); return err; } @@ -459,14 +445,6 @@ perftest_fixed_12byte_x4 (test_perf_t *tp) test_perf_event_disable (tp); clib_toeplitz_hash_key_free (k); - test_mem_free (d0); - test_mem_free (d1); - test_mem_free (d2); - test_mem_free (d3); - test_mem_free (h0); - test_mem_free (h1); - test_mem_free (h2); - test_mem_free (h3); } void __test_perf_fn @@ -490,14 +468,6 @@ perftest_fixed_36byte_x4 (test_perf_t *tp) test_perf_event_disable (tp); clib_toeplitz_hash_key_free (k); - test_mem_free (d0); - test_mem_free (d1); - test_mem_free (d2); - test_mem_free (d3); - test_mem_free (h0); - test_mem_free (h1); - test_mem_free (h2); - test_mem_free (h3); } void __test_perf_fn @@ -527,15 +497,6 @@ perftest_variable_size_x4 (test_perf_t *tp) test_perf_event_disable (tp); clib_toeplitz_hash_key_free (k); - test_mem_free (key); - test_mem_free (d0); - test_mem_free (d1); - test_mem_free (d2); - test_mem_free (d3); - test_mem_free (h0); - test_mem_free (h1); - test_mem_free (h2); - test_mem_free (h3); } REGISTER_TEST (clib_toeplitz_hash_x4) = {