[ROSTESTS][GLOBAL_MEM] GlobalAllocNFree might return SUCCESS even in failure case...
[reactos.git] / modules / rostests / tests / global_mem / global_mem.c
index 5e614a5..06834c6 100644 (file)
@@ -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;
         }