Home GnuPG
Diffusion GnuPG 2924ac374eb8

gpg: Fix a memory leak in get_best_pubkey_byname.

Description

gpg: Fix a memory leak in get_best_pubkey_byname.

* g10/getkey.c (get_best_pubkey_byname): Free the public key parts.

Cherry-picked from master commit:
e28572116fe4c586ba9d1e8f27389bf3f06e036b

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Oct 7 2019, 3:41 AM
Parents
rGbeeab41e47d3: doc: Fix c+p bug in the examples for --import-filter.
Branches
Unknown
Tags
Unknown