summaryrefslogtreecommitdiffstats
path: root/platform/javascript/api/javascript_singleton.h
diff options
context:
space:
mode:
authorRonald Casili <nvlled@gmail.com>2024-07-17 19:25:28 +0800
committerRémi Verschelde <rverschelde@gmail.com>2024-07-18 09:45:44 +0200
commit3636d9dafc4c4a9b80a94382a235172c80a083e8 (patch)
treece1fe28d1c6bb709115f443d3756929d718dffa8 /platform/javascript/api/javascript_singleton.h
parentda4f6e439c0daec87d3f87f86b5b4592fca44fdb (diff)
downloadredot-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/javascript/api/javascript_singleton.h')
0 files changed, 0 insertions, 0 deletions