free NULL cleanup 9
[openssl.git] / crypto / ec / ecp_nistp224.c
index 2f1213f1f778ff6b1a3decd291472a438b55d6ac..76adc8a6d1f3f984117906ba7e7b903943d35663 100644 (file)
@@ -1741,8 +1741,7 @@ int ec_GFp_nistp224_precompute_mult(EC_GROUP *group, BN_CTX *ctx)
     EC_POINT_free(generator);
     if (new_ctx != NULL)
         BN_CTX_free(new_ctx);
-    if (pre)
-        nistp224_pre_comp_free(pre);
+    nistp224_pre_comp_free(pre);
     return ret;
 }