diff options
author | Ronald Casili <nvlled@gmail.com> | 2024-07-17 19:25:28 +0800 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-07-18 09:45:44 +0200 |
commit | 3636d9dafc4c4a9b80a94382a235172c80a083e8 (patch) | |
tree | ce1fe28d1c6bb709115f443d3756929d718dffa8 /platform/linuxbsd/export/export_plugin.cpp | |
parent | da4f6e439c0daec87d3f87f86b5b4592fca44fdb (diff) | |
download | redot-engine-3636d9dafc4c4a9b80a94382a235172c80a083e8.tar.gz |
Linux/X11: Fix memory leak from created screen images
Allocated XImages are improperly free'd with XFree.
The X11 documentation says that XImage should use
XDestroyImage to free both the image structure and
the data pointed to by the image structure.
Also fix a potential use-after-free bug.
Diffstat (limited to 'platform/linuxbsd/export/export_plugin.cpp')
0 files changed, 0 insertions, 0 deletions