[PATCH v2 3/3] crypt32/tests: Fix mismatched deallocation function.
Brendan Shanks
wine at gitlab.winehq.org
Mon May 16 13:16:51 CDT 2022
From: Brendan Shanks <bshanks at codeweavers.com>
---
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);
}
}
}
--
GitLab
https://gitlab.winehq.org/wine/wine/-/merge_requests/69
More information about the wine-devel
mailing list