summaryrefslogtreecommitdiff
path: root/src/kernel/elf.c
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2020-09-06 13:44:20 -0400
committerBenji Dial <benji6283@gmail.com>2020-09-06 13:44:20 -0400
commit73bb0e48640b842824a0b45fe4854df8ff7faf7b (patch)
tree077dec8a426db1e835393964da4736e91ff4c69d /src/kernel/elf.c
parentcbc85f6e897808b29e2f712156e2fa4d073d8277 (diff)
downloadportland-os-73bb0e48640b842824a0b45fe4854df8ff7faf7b.tar.gz
bugfixes, init program, hello world
Diffstat (limited to 'src/kernel/elf.c')
-rw-r--r--src/kernel/elf.c1
1 files changed, 1 insertions, 0 deletions
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;