]> granicus.if.org Git - openssl/commitdiff
Free a variable
authorMatt Caswell <matt@openssl.org>
Tue, 29 May 2018 15:01:30 +0000 (16:01 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 31 May 2018 09:39:13 +0000 (10:39 +0100)
Fix a memory leak in storeutl.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6373)

apps/storeutl.c

index 0f310d2ec912ced68cc4cb2cd8f2cf5177f78018..50007f6e8b69eea044a55ebe9a39c4ce75c2d3b1 100644 (file)
@@ -308,6 +308,7 @@ int storeutl_main(int argc, char *argv[])
                   text, noout, recursive, 0, out, prog);
 
  end:
+    OPENSSL_free(fingerprint);
     OPENSSL_free(alias);
     ASN1_INTEGER_free(serial);
     X509_NAME_free(subject);