]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/ec/ec_mult.c
free NULL cleanup -- coda
[thirdparty/openssl.git] / crypto / ec / ec_mult.c
index 115bc4258b620e7059c885cae6a718a85b08f31d..bd99c82516ae20e643d281843bd5b1662c49ee66 100644 (file)
@@ -742,8 +742,7 @@ int ec_wNAF_precompute_mult(EC_GROUP *group, BN_CTX *ctx)
     if (ctx != NULL)
         BN_CTX_end(ctx);
     BN_CTX_free(new_ctx);
-    if (pre_comp)
-        ec_pre_comp_free(pre_comp);
+    ec_pre_comp_free(pre_comp);
     if (points) {
         EC_POINT **p;