From 9a93ed59ce8e9311dd29e148048c6c20ba54388c Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 19 Sep 2021 21:39:06 +0200 Subject: show the malloc balance on halt; remove a bad kfree() call the kfree() call was freeing a buffer which was inside a process struct --- src/kernel/vfs/request.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/kernel/vfs/request.c') diff --git a/src/kernel/vfs/request.c b/src/kernel/vfs/request.c index 46c52b8..2fd4689 100644 --- a/src/kernel/vfs/request.c +++ b/src/kernel/vfs/request.c @@ -102,6 +102,5 @@ int vfs_request_finish(struct vfs_request *req, int ret) { req->caller->state = PS_RUNNING; regs_savereturn(&req->caller->regs, ret); - kfree(req); return ret; } -- cgit v1.2.3