Home GnuPG
Diffusion GnuPG 28a4d0d4f5c5

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