]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - apps/pkcs12.c
free NULL cleanup -- coda
[thirdparty/openssl.git] / apps / pkcs12.c
index 4c62392e0b14264421699a9bf0e33c149dc259f1..0a4ee3ed1033ddecee19b3d995d5847162366803 100644 (file)
@@ -554,8 +554,7 @@ int pkcs12_main(int argc, char **argv)
         app_RAND_write_file(NULL);
     BIO_free(in);
     BIO_free_all(out);
-    if (canames)
-        sk_OPENSSL_STRING_free(canames);
+    sk_OPENSSL_STRING_free(canames);
     OPENSSL_free(passin);
     OPENSSL_free(passout);
     return (ret);