gpg: Fix memory leak in ecc key generation.
authorWerner Koch <wk@gnupg.org>
Mon, 12 Dec 2016 13:02:14 +0000 (14:02 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 12 Dec 2016 13:02:14 +0000 (14:02 +0100)
commit98433c70431dfbde99b0e89416856d1eef9ebc88
tree4846ed9b70f0f5a82512ed89e1919212de13db6f
parentf1304ee9b21e6ceac6c13d04ceddd23fadb5c7f1
gpg: Fix memory leak in ecc key generation.

* g10/keygen.c (ecckey_from_sexp): Release curve.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/keygen.c