free cleanup almost the finale
[openssl.git] / crypto / ec / ecp_nistp224.c
index 5afe71c70c48597be74dd0016e8ba402798887fa..a5e76f41b9f71de6cbee6f7907f67e3bef8a509a 100644 (file)
@@ -1247,8 +1247,7 @@ static void nistp224_pre_comp_clear_free(void *pre_)
     if (i > 0)
         return;
 
-    OPENSSL_cleanse(pre, sizeof *pre);
-    OPENSSL_free(pre);
+    OPENSSL_clear_free(pre, sizeof *pre);
 }
 
 /******************************************************************************/