mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[ROSTESTS][GLOBAL_MEM] GlobalAllocNFree might return SUCCESS even in failure case due to unintended semicolon ROSTESTS-323
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user