diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-25 03:52:36 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-25 03:52:36 +0300 |
commit | a604ed0068a0e23c133f3aad5cf0d697336192c1 (patch) | |
tree | e8487a8ce683428ea4c1481fc7c766dfa429ce48 /intern | |
parent | 87e8810dd05c43d3df310c14a4f7b1c24df2ed65 (diff) |
Fix accessing freed memory for GHOST/Wayland clipboard access
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemWayland.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_SystemWayland.cpp b/intern/ghost/intern/GHOST_SystemWayland.cpp index df9f2a899e0..57b1a9bb434 100644 --- a/intern/ghost/intern/GHOST_SystemWayland.cpp +++ b/intern/ghost/intern/GHOST_SystemWayland.cpp @@ -1325,6 +1325,7 @@ static void data_device_handle_selection(void *data, wl_data_offer_destroy(data_offer->id); delete data_offer; data_offer = nullptr; + input->data_offer_copy_paste = nullptr; } if (id == nullptr) { |