Home GnuPG
Diffusion GnuPG 4bdd43fdca20

dotlock: Avoid leaking directory handle.

Description

dotlock: Avoid leaking directory handle.

* common/dotlock.c (dotlock_detect_tname): Close directory on errors.
  • GnuPG-bug-id: T7201
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
JakujeAuthored on Jul 15 2024, 8:39 PM
gniibeCommitted on Jul 22 2024, 6:38 AM
Parents
rGf66e9356f892: export_secret_ssh_key: Avoid memory leak.
Branches
Unknown
Tags
Unknown
Tasks
T7201: More memory leaks in gnupg