From ae1b063aa6ff5c52948c2a5a6fe494f8d5060a77 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); }