mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 09:16:17 +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);
|
hTest = GlobalAlloc(allocFlags, MEM_BLOCK_SIZE);
|
||||||
if (0 != hTest)
|
if (0 != hTest)
|
||||||
{
|
{
|
||||||
if (0 == GlobalFree(hTest));
|
if (0 == GlobalFree(hTest))
|
||||||
{
|
{
|
||||||
status = PASSED;
|
status = PASSED;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue