From 1d402a0166a432073f065a8dc66252b13560b81b Mon Sep 17 00:00:00 2001 From: Zhiqi Song Date: Sat, 17 Jun 2023 20:29:38 +0800 Subject: [PATCH 16/48] digest: fixup free source method Fix the issue of inconsistent interfaces used for resource application and release in init and cleanp process. Signed-off-by: Zhiqi Song --- src/uadk_digest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uadk_digest.c b/src/uadk_digest.c index 984127e..590a888 100644 --- a/src/uadk_digest.c +++ b/src/uadk_digest.c @@ -816,7 +816,7 @@ static int uadk_e_digest_cleanup(EVP_MD_CTX *ctx) } if (priv && priv->data) - OPENSSL_free(priv->data); + free(priv->data); return 1; } -- 2.25.1