summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/test/sha2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/test/sha2.c')
-rw-r--r--src/vppinfra/test/sha2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/vppinfra/test/sha2.c b/src/vppinfra/test/sha2.c
index 9b4abbed657..0924461447c 100644
--- a/src/vppinfra/test/sha2.c
+++ b/src/vppinfra/test/sha2.c
@@ -305,10 +305,6 @@ check_digest (clib_error_t *err, int tc, u8 *calculated, const u8 *expected,
test_perf_event_enable (tp); \
clib_hmac_sha##bits (key, *kl, data, *np, digest); \
test_perf_event_disable (tp); \
- \
- test_mem_free (key); \
- test_mem_free (data); \
- test_mem_free (digest); \
} \
REGISTER_TEST (clib_hmac_sha##bits) = { \
.name = "clib_hmac_sha" #bits, \