aboutsummaryrefslogtreecommitdiffstats
path: root/agent/call-scd.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-01-13 14:22:50 +0000
committerWerner Koch <[email protected]>2020-01-13 14:22:50 +0000
commitaaef0fc3a743d06012c4a7fd8caa80d969863cc9 (patch)
tree790b8ef0523d94541b12916f9e217578ac56af2e /agent/call-scd.c
parentgpg,sm: Avoid useless ASFW diagnostic in loopback mode. (diff)
downloadgnupg-aaef0fc3a743d06012c4a7fd8caa80d969863cc9.tar.gz
gnupg-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 <[email protected]>
Diffstat (limited to 'agent/call-scd.c')
-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);
}
}