We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 593b1d7 commit 51ddb25Copy full SHA for 51ddb25
tests/unit/test_heap.cpp
@@ -106,7 +106,7 @@ main (int __attr_unused___ argc,
106
size_t size = (size_t) rand () % test_threshold_block_size;
107
ptrs[j] = (uint8_t*) mem_heap_alloc_block (size,
108
(rand () % 2) ?
109
- MEM_HEAP_ALLOC_SHORT_TERM : MEM_HEAP_ALLOC_SHORT_TERM);
+ MEM_HEAP_ALLOC_LONG_TERM : MEM_HEAP_ALLOC_SHORT_TERM);
110
sizes[j] = size;
111
112
JERRY_ASSERT (size == 0 || ptrs[j] != NULL);
0 commit comments