Home GnuPG

build,tests: Fix leaks of memory or file pointer.

Description

build,tests: Fix leaks of memory or file pointer.

* src/mkheader.c (parse_config_h): Close FP.
* tests/t-b64.c (test_b64enc_string): Free STATE.
(test_b64dec_string): Free BUFFER.
* tests/t-syserror.c (main): Close FP.
  • GnuPG-bug-id: T5381
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
JakujeAuthored on Apr 12 2021, 6:06 AM
gniibeCommitted on Apr 12 2021, 6:06 AM
Parents
rE956c40f106ea: core: Fix gpgrt_wait_processes, by skipping invalid PID.
Branches
Unknown
Tags
Unknown
Tasks
T5381: libgpg-error coverity static analysis reports