diff options
author | Werner Koch <wk@gnupg.org> | 2020-01-13 15:22:50 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-01-13 15:22:50 +0100 |
commit | aaef0fc3a743d06012c4a7fd8caa80d969863cc9 (patch) | |
tree | 790b8ef0523d94541b12916f9e217578ac56af2e /agent | |
parent | gpg,sm: Avoid useless ASFW diagnostic in loopback mode. (diff) | |
download | gnupg2-aaef0fc3a743d06012c4a7fd8caa80d969863cc9.tar.xz gnupg2-aaef0fc3a743d06012c4a7fd8caa80d969863cc9.zip |
agent: Replace free by xfree in recently added code.
* agent/call-scd.c (agent_card_free_keyinfo): Use xfree.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'agent')
-rw-r--r-- | agent/call-scd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/agent/call-scd.c b/agent/call-scd.c index 39726c423..347160a40 100644 --- a/agent/call-scd.c +++ b/agent/call-scd.c @@ -1461,9 +1461,9 @@ agent_card_free_keyinfo (struct card_key_info_s *l) for (; l; l = l_next) { l_next = l->next; - free (l->serialno); - free (l->idstr); - free (l); + xfree (l->serialno); + xfree (l->idstr); + xfree (l); } } |