[Bf-blender-cvs] [a604ed0068a] master: Fix accessing freed memory for GHOST/Wayland clipboard access
Campbell Barton
noreply at git.blender.org
Thu Aug 25 04:39:16 CEST 2022
Commit: a604ed0068a0e23c133f3aad5cf0d697336192c1
Author: Campbell Barton
Date: Thu Aug 25 10:52:36 2022 +1000
Branches: master
https://developer.blender.org/rBa604ed0068a0e23c133f3aad5cf0d697336192c1
Fix accessing freed memory for GHOST/Wayland clipboard access
===================================================================
M intern/ghost/intern/GHOST_SystemWayland.cpp
===================================================================
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) {
More information about the Bf-blender-cvs
mailing list