]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
apps/prime.c: Remove dead code
authorTomas Mraz <tomas@openssl.org>
Wed, 30 Apr 2025 08:09:18 +0000 (10:09 +0200)
committerTomas Mraz <tomas@openssl.org>
Fri, 2 May 2025 11:39:41 +0000 (13:39 +0200)
Fixes Coverity 1646773

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/27524)

apps/prime.c

index a8c7aaec445787ca31485e428baad2955eba8c7f..a14f4170303639ad8168d690a6699ac6ceaa5bb5 100644 (file)
@@ -212,7 +212,5 @@ opthelp:
     ret = 0;
  end:
     BN_free(bn);
-    if (in != NULL)
-        BIO_free(in);
     return ret;
 }