ladybird/Kernel/Heap
Daniel Bertalan 85ea66932e Kernel: Allow kfree_aligned to be called on null pointers
The C++ standard specifies that `free` and `operator delete` should
be callable with nullptr. The non-aligned `kfree` already handles this,
but because of the pointer arithmetic to obtain the allocation start
pointer, the aligned version would produce undefined behavior.
2021-08-13 22:02:23 +02:00
..
Heap.h Kernel: Remove krealloc() 2021-07-11 14:14:51 +02:00
kmalloc.cpp Kernel: Allow aligned operator new to return nullptr 2021-08-13 22:02:23 +02:00
kmalloc.h Kernel: Allow kfree_aligned to be called on null pointers 2021-08-13 22:02:23 +02:00
SlabAllocator.cpp Kernel: Move Kernel/Memory/ code into Kernel::Memory namespace 2021-08-06 14:05:58 +02:00
SlabAllocator.h Kernel: Allow passing null pointer to delete 2021-07-14 13:12:25 +02:00