Home GnuPG

cipher: fix memory leaks.
ae6ffd9af38cUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

cipher: fix memory leaks.

* cipher/elgamal.c (elg_generate_ext): Free XVALUE.
* cipher/pubkey.c (sexp_elements_extract): Don't use IDX for loop.
Call mpi_free.
(sexp_elements_extract_ecc): Call mpi_free.

Details

Provenance
gniibeAuthored on Aug 6 2013, 5:57 AM
Parents
rCd8e99a04dba6: mpi: Improve gcry_mpi_invm to detect bad input.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rCae6ffd9af38c: cipher: fix memory leaks. (authored by NIIBE Yutaka <gniibe@fsij.org>).Aug 6 2013, 5:57 AM