Blender Git Loki
Git Commits -> Revision 0708733
Revision 0708733 by Campbell Barton (master) September 2, 2021, 05:30 (GMT) |
Fix T91123: Freeing meshes in edit-mode leaks memory Freeing the edit-mesh pointer wasn't free the edit-mesh data it's self. Unlinking from the outliner or through the Python API leaked memory. This didn't often cause leaks in practice since ED_editors_exit exits edit-mode for all objects. Now freeing mesh data frees the edit-mode data as well, this matches the behavior of other object types that support edit-mode. |
Commit Details:
Full Hash: 0708733c46cb6b50697c1b80a6541d6fb410267e
Parent Commit: 809b33b
Lines Changed: +12, -2