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:
parent
14aa797bb8
commit
aaef0fc3a7
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user