From aaef0fc3a743d06012c4a7fd8caa80d969863cc9 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 13 Jan 2020 15:22:50 +0100 Subject: agent: Replace free by xfree in recently added code. * agent/call-scd.c (agent_card_free_keyinfo): Use xfree. Signed-off-by: Werner Koch --- agent/call-scd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'agent') 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); } } -- cgit v1.2.3