From f863485fea7222011154537519ffc881cc07a24a Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Wed, 3 Jul 2013 13:31:52 +0200 Subject: [PATCH] Remove memory leak in PKCS#5 self test --- library/pkcs5.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/pkcs5.c b/library/pkcs5.c index a36352916..7a30d7850 100644 --- a/library/pkcs5.c +++ b/library/pkcs5.c @@ -366,6 +366,8 @@ int pkcs5_self_test( int verbose ) printf( "\n" ); + md_free_ctx( &sha1_ctx ); + return( 0 ); }