summaryrefslogtreecommitdiffstats
path: root/apps/pkcs12.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/pkcs12.c')
-rw-r--r--apps/pkcs12.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/pkcs12.c b/apps/pkcs12.c
index 963797155f..0f3ac4977a 100644
--- a/apps/pkcs12.c
+++ b/apps/pkcs12.c
@@ -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();