From 65954db2be6495356b56d504b1fadacf3fe9c740 Mon Sep 17 00:00:00 2001 From: Brendan Shanks Date: Fri, 29 Apr 2022 09:04:41 -0700 Subject: [PATCH] crypt32/tests: Fix mismatched deallocation function. Signed-off-by: Alexandre Julliard --- dlls/crypt32/tests/encode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/crypt32/tests/encode.c b/dlls/crypt32/tests/encode.c index 9dabe58efba..b65ffde3a84 100644 --- a/dlls/crypt32/tests/encode.c +++ b/dlls/crypt32/tests/encode.c @@ -2603,7 +2603,7 @@ static void test_decodeRsaPublicKey_Bcrypt(DWORD dwEncoding) rsaPubKeys[i].modulus, rsaPubKeys[i].decodedModulusLen), "Unexpected modulus\n"); LocalFree(buf); - LocalFree(leModulus); + HeapFree(GetProcessHeap(), 0, leModulus); } } }