From 73bb0e48640b842824a0b45fe4854df8ff7faf7b Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sun, 6 Sep 2020 13:44:20 -0400 Subject: bugfixes, init program, hello world --- src/kernel/elf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kernel/elf.c') diff --git a/src/kernel/elf.c b/src/kernel/elf.c index 8cd659c..bd2f12d 100644 --- a/src/kernel/elf.c +++ b/src/kernel/elf.c @@ -107,6 +107,7 @@ bool try_elf_run(const struct drive *d, const char *path) { } free_pages(phtable, phtable_pages); + d->free_file(d, h); struct task_state tstate; tstate.page_directory = pd; -- cgit v1.2.3