Fix some faults in util/mk1mf.pl
[openssl.git] / apps / dsaparam.c
index fc1c81760410fcd40acec3bd2c233441262c5314..f63ecb28ecb6c35e0ae208646313ace4c2d05d07 100644 (file)
@@ -434,10 +434,8 @@ int MAIN(int argc, char **argv)
  end:
     if (cb != NULL)
         BN_GENCB_free(cb);
-    if (in != NULL)
-        BIO_free(in);
-    if (out != NULL)
-        BIO_free_all(out);
+    BIO_free(in);
+    BIO_free_all(out);
     DSA_free(dsa);
     apps_shutdown();
     OPENSSL_EXIT(ret);