summaryrefslogtreecommitdiffstats
path: root/kbx
diff options
context:
space:
mode:
Diffstat (limited to 'kbx')
-rw-r--r--kbx/keybox-blob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kbx/keybox-blob.c b/kbx/keybox-blob.c
index a38f991a9..ebbcdf8ff 100644
--- a/kbx/keybox-blob.c
+++ b/kbx/keybox-blob.c
@@ -948,12 +948,12 @@ _keybox_create_x509_blob (KEYBOXBLOB *r_blob, ksba_cert_t cert,
leave:
release_kid_list (blob->temp_kids);
blob->temp_kids = NULL;
- if (blob && names)
+ if (names)
{
for (i=0; i < blob->nuids; i++)
xfree (names[i]);
+ xfree (names);
}
- xfree (names);
if (rc)
{
_keybox_release_blob (blob);