Various fixes...
[openssl.git] / apps / pkcs12.c
index 963797155fc578fcd564506bacacdd9ad1aedd62..0f3ac4977a235806c3a7f817ad5705905f03b480 100644 (file)
@@ -502,6 +502,8 @@ int MAIN(int argc, char **argv)
        }
        sk_X509_pop_free(certs, X509_free);
        certs = NULL;
+       /* ucert is part of certs so it is already freed */
+       ucert = NULL;
 
 #ifdef CRYPTO_MDEBUG
        CRYPTO_pop_info();