mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 16:42:10 +02:00
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.
4.3 KiB
4.3 KiB