Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-08-25 03:52:36 +0300
committerCampbell Barton <campbell@blender.org>2022-08-25 03:52:36 +0300
commita604ed0068a0e23c133f3aad5cf0d697336192c1 (patch)
treee8487a8ce683428ea4c1481fc7c766dfa429ce48 /intern
parent87e8810dd05c43d3df310c14a4f7b1c24df2ed65 (diff)
Fix accessing freed memory for GHOST/Wayland clipboard access
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_SystemWayland.cpp1
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) {