free NULL cleanup 9
[openssl.git] / crypto / ec / ecp_nistp256.c
index 9ec034669abd2733360846f380e69d7dfc846182..794520e99abaff67a25cc0e2fe3e73219d28d836 100644 (file)
@@ -2342,8 +2342,7 @@ int ec_GFp_nistp256_precompute_mult(EC_GROUP *group, BN_CTX *ctx)
     EC_POINT_free(generator);
     if (new_ctx != NULL)
         BN_CTX_free(new_ctx);
-    if (pre)
-        nistp256_pre_comp_free(pre);
+    nistp256_pre_comp_free(pre);
     return ret;
 }