From e109319a2ef06c686bc71b35f9b1c41a1830a273 Mon Sep 17 00:00:00 2001 From: makejian Date: Tue, 27 Jun 2023 10:44:03 +0800 Subject: [PATCH] fix memory leak in aesctr test case Signed-off-by: makejian --- testing/crypto/aesctr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/crypto/aesctr.c b/testing/crypto/aesctr.c index 4d65ddbd5e..ee6e13c979 100644 --- a/testing/crypto/aesctr.c +++ b/testing/crypto/aesctr.c @@ -338,6 +338,7 @@ static int run(int num) free(data[i]); } + free(p); return (fail); }