5b5a1e358102cb14eb9b0e60c91a5a41f50b62ec
- Pasting a material would free the materials local node-tree, leaving it in the depsgraph which would then tag the freed ID (from deg_graph_clear_id_recalc_flags). - texpaintslot, gp_style pointers were copied into the clipboard without being cleared or duplicated, allowing for freed memory access later on. - A shallow copy from the cliboard into the material could also cause these pointers to be overwritten and leak memory. Resolve by calling material_free_data before performing a shallow copy and adding material_clear_data which ensures these pointers aren't copied into the clipboard.
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
