Home GnuPG
Diffusion GnuPG 5488ad051742

common: Fix a possible resource leak for dotlock.

Description

common: Fix a possible resource leak for dotlock.

* common/dotlock.c (dotlock_destroy_unix): Don't release ->TNAME here.
(dotlock_destroy): Release the memory unconditionally.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Dec 20 2023, 2:28 AM
Parents
rG8eff1d4c5110: common: Improve the parsing of gpgconf.ctl variables.
Branches
Unknown
Tags
Unknown