Sculpt-dev: fix memory corruption

This commit is contained in:
Joseph Eagar 2021-11-28 18:50:42 -08:00
parent 62f68639e0
commit 61e2d15bfe
1 changed files with 1 additions and 0 deletions

View File

@ -6069,6 +6069,7 @@ static void SCULPT_run_command(
ss->cache->channels_final = channels_final;
ss->cache->brush = brush;
sd->paint.brush_eval = NULL;
MEM_SAFE_FREE(nodes);
}