mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 13:01:40 +00:00
[ROSTESTS][GLOBAL_MEM] GlobalAllocNFree might return SUCCESS even in failure case due to unintended semicolon ROSTESTS-323
This commit is contained in:
parent
42bcdb15a3
commit
07fa6fc38c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue