[ROSTESTS][GLOBAL_MEM] GlobalAllocNFree might return SUCCESS even in failure case due to unintended semicolon ROSTESTS-323

This commit is contained in:
Joachim Henze 2019-06-01 00:05:06 +02:00
parent 42bcdb15a3
commit 07fa6fc38c

View file

@ -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;
} }