diff --git a/src/sys/mm/memory.c b/src/sys/mm/memory.c index 824c59f..3096a71 100644 --- a/src/sys/mm/memory.c +++ b/src/sys/mm/memory.c @@ -62,7 +62,9 @@ kprintf("Freeing contiguous memory\n"); for(tmp2 = tmp->Link ; tmp2 != NULL ; tmp2 = tmp2->Link) { - //TODO + mmFreePages->Last->Next = tmp2; + tmp2->Previous = mmFreePages->Last; + mmFreePages->Last = tmp2; } }