Sculpt: Fix #107092: ss->filter_cache not being null'd on free

This commit is contained in:
Joseph Eagar
2023-04-24 12:19:11 -07:00
parent ae7c71ef09
commit c4e4184c50

View File

@@ -260,6 +260,7 @@ void SCULPT_filter_cache_free(SculptSession *ss)
MEM_SAFE_FREE(ss->filter_cache->limit_surface_co);
MEM_SAFE_FREE(ss->filter_cache->pre_smoothed_color);
MEM_delete<FilterCache>(ss->filter_cache);
ss->filter_cache = nullptr;
}
typedef enum eSculptMeshFilterType {