aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/http.c
diff options
context:
space:
mode:
authorJakub Jelen <[email protected]>2021-04-12 17:19:59 +0000
committerWerner Koch <[email protected]>2021-05-20 12:28:49 +0000
commit33a2362e566c0e0d7011abf2e5fa5704d7cb4206 (patch)
treee936d381da279f1cf2fc577b2eb256883999d73a /dirmngr/http.c
parentsm: Avoid memory leaks and double double-free (diff)
downloadgnupg-33a2362e566c0e0d7011abf2e5fa5704d7cb4206.tar.gz
gnupg-33a2362e566c0e0d7011abf2e5fa5704d7cb4206.zip
agent: Fix memory leaks
* agent/call-daemon.c (daemon_start): free wctp * agent/call-scd.c (agent_card_pksign): return error instead of noop (card_keyinfo_cb): free keyinfo. Restructure to avoid a goto backwards. * agent/protect.c (agent_get_shadow_info_type): allocate only as a last action. Catch xtrymalloc failure. (agent_is_tpm2_key): Free buf. -- Signed-off-by: Jakub Jelen <[email protected]> Additional changes are: - Restructure to avoid a goto backwards. - Catch xtrymalloc failure. GnuPG-bug-id: 5393 Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/http.c')
0 files changed, 0 insertions, 0 deletions