Fixed missing return in free_page()

Method would report "out of memory" when that was not the case
This commit is contained in:
2021-04-17 04:58:02 -05:00
parent 7c0c5cd8ce
commit a28e586139

View File

@@ -34,6 +34,7 @@ int free_page(struct page_stack_t *stack, physaddr_t location)
return S_OUT_OF_BOUNDS;
case S_OK:
stack->limit_pointer = new_limit;
return S_OK;
}
}
return S_OUT_OF_MEMORY;