Minor kmalloc() fix

This commit is contained in:
2025-04-29 20:16:22 +02:00
parent 5522218767
commit 1a58cfee97
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -11,6 +11,7 @@ TODO
[x] Paging [x] Paging
[x] Serial monitor [x] Serial monitor
[ ] Make dedicated asm functions like lidt(), sti(), ... [ ] Make dedicated asm functions like lidt(), sti(), ...
[ ] Add something like <errno.h> in the kernel
[x] PIT [x] PIT
[ ] RTC [ ] RTC
[ ] HPET [ ] HPET
+1 -1
View File
@@ -59,7 +59,7 @@ void kmalloc_merge() {
if (current->free && current->next->free) { if (current->free && current->next->free) {
current->size += current->next->size + sizeof(struct kmalloc_node); current->size += current->next->size + sizeof(struct kmalloc_node);
current->next = current->next->next; current->next = current->next->next;
break; continue;
} }
current = current->next; current = current->next;