diff options
author | dzwdz | 2022-08-04 23:06:57 +0200 |
---|---|---|
committer | dzwdz | 2022-08-04 23:06:57 +0200 |
commit | ce00d1677d7a419b427e7f11963eee982a55a231 (patch) | |
tree | 2662c3861226f6909b83d57ff8b6ac3b2ba5ec8d /src/kernel/handle.c | |
parent | 26dc784103914b9d6ba36e0a96fa4b3af977626f (diff) |
do some simple TODOs, organize the rest; general code maintainance
Diffstat (limited to 'src/kernel/handle.c')
-rw-r--r-- | src/kernel/handle.c | 2 |
1 files changed, 0 insertions, 2 deletions
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); } |