diff options
author | Danny Holman <dholman@gymli.org> | 2024-06-25 20:44:14 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2024-06-25 20:44:14 -0500 |
commit | e8a8e23a8543224be42798b4c357df67ef30b6f5 (patch) | |
tree | 9e914f3a423170d15784465699bc04ad288b0153 /include/kernel/video | |
parent | 2abe7e3e878b9b4ed3660b8f10eaf3caef2e0ea1 (diff) |
arch: i386: kmalloc: don't ignore the last block
Fix a bug in which the kfree function would ignore the last mem_block
struct. This allows the kernel to free a mem_block at the end of the
linked list.
Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'include/kernel/video')
0 files changed, 0 insertions, 0 deletions