]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/ec/ecp_nistp521.c
free NULL cleanup 9
[thirdparty/openssl.git] / crypto / ec / ecp_nistp521.c
index c8f9d1e78d4d3273355f8c5361064d7a0af59b70..7ceb1bcbfa40a2d1536fdb5aa5e516c91bfd53c9 100644 (file)
@@ -2125,8 +2125,7 @@ int ec_GFp_nistp521_precompute_mult(EC_GROUP *group, BN_CTX *ctx)
     EC_POINT_free(generator);
     if (new_ctx != NULL)
         BN_CTX_free(new_ctx);
-    if (pre)
-        nistp521_pre_comp_free(pre);
+    nistp521_pre_comp_free(pre);
     return ret;
 }