Jakub Jelen
33a2362e56
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 <jjelen@redhat.com>
Additional changes are:
- Restructure to avoid a goto backwards.
- Catch xtrymalloc failure.
GnuPG-bug-id: 5393
Signed-off-by: Werner Koch <wk@gnupg.org>
2021-05-20 14:28:49 +02:00
..
2021-03-10 15:52:20 +01:00
2017-05-11 18:12:37 +02:00
2020-10-09 13:57:29 +09:00
2021-05-20 14:28:49 +02:00
2021-02-18 14:43:43 +01:00
2021-05-20 14:28:49 +02:00
2021-03-10 13:23:05 +01:00
2015-10-28 10:20:17 +01:00
2021-05-11 09:06:34 +02:00
2021-05-20 13:38:07 +02:00
2021-05-20 13:38:07 +02:00
2016-11-05 12:02:19 +01:00
2020-11-26 15:56:37 +01:00
2021-03-10 13:34:18 +01:00
2021-03-18 09:53:09 +01:00
2021-05-20 13:38:07 +02:00
2013-05-07 21:35:48 +02:00
2021-05-20 13:38:07 +02:00
2021-04-21 21:00:28 +02:00
2020-02-13 11:45:41 +01:00
2021-04-13 13:54:14 +09:00
2021-03-10 13:23:05 +01:00
2021-03-26 14:30:58 +01:00
2020-02-21 20:28:47 +01:00
2021-05-20 13:38:07 +02:00
2021-05-20 14:28:49 +02:00
2020-06-24 10:05:03 +09:00
2020-02-10 16:50:47 +01:00
2019-05-14 10:31:46 +02:00
2020-10-20 12:15:55 +02:00
2020-02-18 18:07:46 -05:00
2016-11-05 12:02:19 +01:00