mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-09 08:33:28 +02:00
The mmap() call here served no purpose - anon_create() is only meant to create and return a file descriptor. The actual mapping is done later by AnonymousBufferImpl::create(). This leaked an mmap of `size` bytes for every AnonymousBuffer created, which includes backing stores, shareable bitmaps, and more.
25 KiB
25 KiB