From bf3109fd41b9208054916f6ebd332521058b8222 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Wed, 14 Aug 2013 21:36:01 +0200 Subject: [PATCH] Add forgotten ecdsa_free() in ecdsa example --- programs/pkey/ecdsa.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/programs/pkey/ecdsa.c b/programs/pkey/ecdsa.c index 94e00dff3..8d52b6726 100644 --- a/programs/pkey/ecdsa.c +++ b/programs/pkey/ecdsa.c @@ -189,6 +189,9 @@ exit: fflush( stdout ); getchar(); #endif + ecdsa_free( &ctx_verify ); + ecdsa_free( &ctx_sign ); + return( ret ); } #endif /* POLARSSL_BIGNUM_C && POLARSSL_ECDSA_C &&