Home GnuPG
Diffusion GnuPG 0d2c1e9046fa

dirmgr: clean up memory on error code paths

Description

dirmgr: clean up memory on error code paths

* dirmgr/crlcache.c (finish_sig_check): goto leave instead of return
* dirmgr/http.c (send_request): free authstr and proxy_authstr
* dirmgr/ldap.c (start_cert_fetch_ldap): free proxy
* dirmgr/ocsp.c (check_signature): release s_hash
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>
  • GnuPG-bug-id: T5393

Details

Provenance
JakujeAuthored on May 20 2021, 10:13 AM
wernerCommitted on May 20 2021, 1:38 PM
Parents
rGa95ddffdcd58: agent: Avoid memory leaks in error code paths.
Branches
Unknown
Tags
Unknown
Tasks
T5393: gnupg coverity static analysis reports