From ce00d1677d7a419b427e7f11963eee982a55a231 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 4 Aug 2022 23:06:57 +0200 Subject: do some simple TODOs, organize the rest; general code maintainance --- src/kernel/handle.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/kernel/handle.c') diff --git a/src/kernel/handle.c b/src/kernel/handle.c index ed7896d..3e31a12 100644 --- a/src/kernel/handle.c +++ b/src/kernel/handle.c @@ -39,8 +39,6 @@ void handle_close(struct handle *h) { // TODO sanity check to check if refcount is true. handle_sanity? - // TODO tests which would catch premature frees - // by that i mean duplicating a handle and killing the original process h->type = HANDLE_INVALID; kfree(h); } -- cgit v1.2.3