diff options
author | Peter Wu <peter@lekensteyn.nl> | 2015-07-10 10:15:26 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2015-07-10 10:15:26 +0900 |
commit | 2a7aa3ea4d03a9c808d5888f5509c08cd27aa27c (patch) | |
tree | 4e5074c5af722a944896bb30befdcaa4cd75b641 /src | |
parent | 0a7547e487a8bc4e7ac9599c55579eb2e4a13f06 (diff) | |
download | libgcrypt-2a7aa3ea4d03a9c808d5888f5509c08cd27aa27c.tar.gz |
ecc: fix memory leak.
* cipher/ecc.c (ecc_verify): Release memory which was allocated before
by _gcry_pk_util_preparse_sigval.
(ecc_decrypt_raw): Likewise.
--
Caught by LeakSanitizer (LSan). Now the test suite (make check) passes
with no memleaks.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
The last commit (0a7547e487a8bc4e7ac9599c55579eb2e4a13f06) includes
wrong fixes for sexp_release.
ecc_decrypt_raw fix added by gniibe.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions