summaryrefslogtreecommitdiffstats
path: root/agent
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2020-01-13 15:22:50 +0100
committerWerner Koch <wk@gnupg.org>2020-01-13 15:22:50 +0100
commitaaef0fc3a743d06012c4a7fd8caa80d969863cc9 (patch)
tree790b8ef0523d94541b12916f9e217578ac56af2e /agent
parentgpg,sm: Avoid useless ASFW diagnostic in loopback mode. (diff)
downloadgnupg2-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.c6
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);
}
}