Home GnuPG
Diffusion GnuPG 06aeb2b45c60

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:20 AM
Parents
rG40090dbbf9ea: delete redundant characters
Branches
Unknown
Tags
Unknown
Tasks
T6495: kbx/keybox-dump.c: close file handle when return