mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Allow NULL for free_public_key.
This commit is contained in:
parent
850f09b2e3
commit
6cf8890dc1
8 changed files with 36 additions and 34 deletions
|
@ -51,8 +51,7 @@ release_sk_list (SK_LIST sk_list)
|
|||
for (; sk_list; sk_list = sk_rover)
|
||||
{
|
||||
sk_rover = sk_list->next;
|
||||
if (sk_list->pk)
|
||||
free_public_key (sk_list->pk);
|
||||
free_public_key (sk_list->pk);
|
||||
xfree (sk_list);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue