https://git.reactos.org/?p=reactos.git;a=commitdiff;h=07fa6fc38cac8b4739f04…
commit 07fa6fc38cac8b4739f04e5eb06c92556dee6da0
Author: Joachim Henze <Joachim.Henze(a)reactos.org>
AuthorDate: Sat Jun 1 00:05:06 2019 +0200
Commit: Joachim Henze <Joachim.Henze(a)reactos.org>
CommitDate: Sat Jun 1 00:05:06 2019 +0200
[ROSTESTS][GLOBAL_MEM] GlobalAllocNFree might return SUCCESS even in failure case due
to unintended semicolon ROSTESTS-323
---
modules/rostests/tests/global_mem/global_mem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/rostests/tests/global_mem/global_mem.c
b/modules/rostests/tests/global_mem/global_mem.c
index 5e614a58a8a..06834c6cac5 100644
--- a/modules/rostests/tests/global_mem/global_mem.c
+++ b/modules/rostests/tests/global_mem/global_mem.c
@@ -248,7 +248,7 @@ TEST_STATUS TestGlobalAllocNFree(UINT allocFlags)
hTest = GlobalAlloc(allocFlags, MEM_BLOCK_SIZE);
if (0 != hTest)
{
- if (0 == GlobalFree(hTest));
+ if (0 == GlobalFree(hTest))
{
status = PASSED;
}