aboutsummaryrefslogtreecommitdiffstats
path: root/g10/skclist.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/skclist.c')
-rw-r--r--g10/skclist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/g10/skclist.c b/g10/skclist.c
index 912104ef5..5a3ea9503 100644
--- a/g10/skclist.c
+++ b/g10/skclist.c
@@ -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);
}
}