projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ROSTESTS][GLOBAL_MEM] GlobalAllocNFree might return SUCCESS even in failure case...
[reactos.git]
/
modules
/
rostests
/
tests
/
global_mem
/
global_mem.c
diff --git
a/modules/rostests/tests/global_mem/global_mem.c
b/modules/rostests/tests/global_mem/global_mem.c
index
5e614a5
..
06834c6
100644
(file)
--- a/
modules/rostests/tests/global_mem/global_mem.c
+++ b/
modules/rostests/tests/global_mem/global_mem.c
@@
-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;
}