summaryrefslogtreecommitdiff
path: root/kernel/lib/list.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-04-02 09:17:06 +0200
committerAnton Kling <anton@kling.gg>2024-04-02 09:39:03 +0200
commit2229fd91f7230ae7068814ae029b733945852eb1 (patch)
tree416487f8c66c389c57dee465f648362ca59b8f23 /kernel/lib/list.h
parent7eceb43433634ee253507208baf1d8298b40e377 (diff)
Kernel: Fix some memory leaks
Diffstat (limited to 'kernel/lib/list.h')
-rw-r--r--kernel/lib/list.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/lib/list.h b/kernel/lib/list.h
index 6ab9e0b..b7085cd 100644
--- a/kernel/lib/list.h
+++ b/kernel/lib/list.h
@@ -2,6 +2,7 @@
#define LIST_H
struct list {
void **entries;
+ int capacity;
int tail_index;
};