Fix memory leak switching sculpt mode + dyntopo
authorCampbell Barton <ideasman42@gmail.com>
Thu, 7 Jul 2016 05:48:25 +0000 (15:48 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 7 Jul 2016 05:48:25 +0000 (15:48 +1000)
commitfd43b7077fafb47a96d2dbd8c0b3f94513a3b5b5
treec02d4b324c489515de6f396b75afd412109713e6
parent003365df0e13c19aa53ddf40e6e556c3b6dcfe2e
Fix memory leak switching sculpt mode + dyntopo

Auto-enabling dyntopo w/ mode switching leaked memory when undo was used.
source/blender/editors/sculpt_paint/sculpt.c