diff options
author | Jesse Yurkovich <jesse.y@gmail.com> | 2022-05-28 06:52:52 +0300 |
---|---|---|
committer | Jesse Yurkovich <jesse.y@gmail.com> | 2022-05-28 06:52:52 +0300 |
commit | 3f1f4df3fd9b37fb97fbf4632725032de87d0828 (patch) | |
tree | 866fbfe45535bbb5aac5bf9296d8145ca6405db4 /source/blender/editors/space_image | |
parent | 712b0496c17c442a046cb76db7823d19e50a3892 (diff) |
Fix unreported misuse of Win32 clipboard API
An ASAN build highlighted a longstanding bug during ctrl+c operations
inside various text widgets. The existing code had mismatched memory
lock/unlock calls and was using the wrong allocator.
Fix the code surrounding `SetClipboardData` to be correct per MSDN:
https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setclipboarddata
Differential Revision: https://developer.blender.org/D15039
Diffstat (limited to 'source/blender/editors/space_image')
0 files changed, 0 insertions, 0 deletions