Fix memory leak in gcry_pk_testkey for ECC.
authorWerner Koch <wk@gnupg.org>
Wed, 7 Nov 2012 14:02:06 +0000 (15:02 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 7 Nov 2012 14:02:06 +0000 (15:02 +0100)
commit8cbbad5f94f6e0429fffe66d689aea20f7e35957
tree13f0b109c4bea10d38ce8a5597a90bed12562b04
parent7af98ef78d45e813f47ae4e180a02757a379953f
Fix memory leak in gcry_pk_testkey for ECC.

* cipher/ecc.c (check_secret_key): Restructure for easier allocation
tracking.  Fix memory leak.
cipher/ecc.c