Commit 4f8a5d3c authored by ei@vuokko.info's avatar ei@vuokko.info

Don't lose linked list tail

parent db76a303
......@@ -408,7 +408,7 @@ findFreeBlocks(nat n) {
if( (((unsigned long)it->base) & MBLOCK_MASK) == 0) { /* MBlock aligned */
ret = (void*)it->base;
if(it->size==required_size) {
prev->next=0;
prev->next=it->next;
stgFree(it);
} else {
it->base += required_size;
......
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