mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
GraphicsBitmap: munmap() pixels on destruction of self-allocating bitmaps.
This commit is contained in:
parent
d93c278d29
commit
e90b501b31
2 changed files with 7 additions and 0 deletions
|
@ -43,6 +43,7 @@ private:
|
|||
RGBA32* m_data { nullptr };
|
||||
size_t m_pitch { 0 };
|
||||
Format m_format { Format::Invalid };
|
||||
bool m_needs_munmap { false };
|
||||
MappedFile m_mapped_file;
|
||||
RetainPtr<SharedBuffer> m_shared_buffer;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue