Home GnuPG
Diffusion GnuPG 3efd0052854d

kbx: Close file handle when return.

Description

kbx: Close file handle when return.

* kbx/keybox-dump.c (_keybox_dump_find_dups): Close FP on the error
paths.
  • GnuPG-bug-id: T6495
  • Signed-off-by: zhangguangzhi <zhangguangzhi3@huawei.com>

Details

Provenance
zhangguangzhiAuthored on May 18 2023, 2:24 PM
gniibeCommitted on Jun 20 2023, 2:21 AM
Parents
rG96e3579f6dfa: delete redundant characters
Branches
Unknown
Tags
Unknown
Tasks
T6495: kbx/keybox-dump.c: close file handle when return