free cleanup almost the finale
[openssl.git] / crypto / ec / ecp_nistp256.c
index 2f394bf88e6b2be005ecfca410cdef71146ecc49..6fce22eb61613e5c6944676371ab3af2fd82b8d5 100644 (file)
@@ -1862,8 +1862,7 @@ static void nistp256_pre_comp_clear_free(void *pre_)
     if (i > 0)
         return;
 
-    OPENSSL_cleanse(pre, sizeof *pre);
-    OPENSSL_free(pre);
+    OPENSSL_clear_free(pre, sizeof *pre);
 }
 
 /******************************************************************************/