Brendan Shanks : crypt32/tests: Fix mismatched deallocation function.
Module: wine Branch: master Commit: 65954db2be6495356b56d504b1fadacf3fe9c740 URL: https://source.winehq.org/git/wine.git/?a=commit;h=65954db2be6495356b56d504b... Author: Brendan Shanks <bshanks(a)codeweavers.com> Date: Fri Apr 29 09:04:41 2022 -0700 crypt32/tests: Fix mismatched deallocation function. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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); } } }
participants (1)
-
Alexandre Julliard