Home GnuPG
Diffusion GnuPG be40a33419c8

agent: Avoid memory leak when handling tpm2.

Description

agent: Avoid memory leak when handling tpm2.

* agent/divert-tpm2.c (agent_write_tpm2_shadow_key): Free memory on
errors.
  • GnuPG-bug-id: T7201
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
JakujeAuthored on Jul 15 2024, 8:40 PM
gniibeCommitted on Jul 22 2024, 6:40 AM
Parents
rG4bdd43fdca20: dotlock: Avoid leaking directory handle.
Branches
Unknown
Tags
Unknown
Tasks
T7201: More memory leaks in gnupg