ecc: Fix memory leak in the error case of ecc_encrypt_raw
authorWerner Koch <wk@gnupg.org>
Wed, 24 Oct 2018 09:50:46 +0000 (11:50 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 24 Oct 2018 09:50:46 +0000 (11:50 +0200)
commite57e75ea517f32109b508113f18298fc69fd1192
tree812a53b23342c5cbcecd0dc7868111b5cc7a97f1
parent149ceb3cae03d0385341d32430aa5ae57de90007
ecc: Fix memory leak in the error case of ecc_encrypt_raw

* cipher/ecc.c (ecc_encrypt_raw): Add proper error cleanup in the main
block.
--

GnuPG-bug-id: 4210
Signed-off-by: Werner Koch <wk@gnupg.org>
cipher/ecc.c