Home GnuPG

Fix a small memory leak in gcry_pk_get_keygrip.
d9db9210b67bUnpublished

Unpublished Commit · Learn More

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

Description

Fix a small memory leak in gcry_pk_get_keygrip.

These are two memory leaks, one in the generic code and one ECC
specific. For an RSA key the first one accounted for 10 bytes, which
is not that small if applied on a large key database.

Details

Provenance
wernerAuthored on Apr 4 2011, 4:27 PM
Parents
rC63c752291c44: Add a test option to help finding memory leaks.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rCd9db9210b67b: Fix a small memory leak in gcry_pk_get_keygrip. (authored by Werner Koch <wk@gnupg.org>).Apr 4 2011, 4:27 PM