From 2b7dd9efc36443c7b663626c249e9542966dd437 Mon Sep 17 00:00:00 2001 From: Alex Chernyakhovsky Date: Tue, 5 Jul 2022 15:27:26 -0400 Subject: [PATCH] Correct memory leak in ocb-aes test --- src/tests/ocb-aes.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tests/ocb-aes.cc b/src/tests/ocb-aes.cc index f6c817a..03ad97c 100644 --- a/src/tests/ocb-aes.cc +++ b/src/tests/ocb-aes.cc @@ -536,6 +536,7 @@ static void test_iterative( void ) { if ( verbose ) { printf( "iterative PASSED\n\n" ); } + scrap_ctx( *ctx_buf ); } int main( int argc, char *argv[] )