1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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>
This commit is contained in:
Werner Koch 2020-01-13 15:22:50 +01:00
parent 14aa797bb8
commit aaef0fc3a7
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -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);
}
}