Commit b2e58b4c authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

jscript: Use list_head get first entry of list.

parent 1eb2c552
......@@ -148,7 +148,7 @@ void heap_pool_clear(heap_pool_t *heap)
if(!heap)
return;
while((tmp = list_next(&heap->custom_blocks, &heap->custom_blocks))) {
while((tmp = list_head(&heap->custom_blocks))) {
list_remove(tmp);
heap_free(tmp);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment