diff options
author | Peter Kim <pk15950@gmail.com> | 2021-06-18 15:36:13 +0300 |
---|---|---|
committer | Peter Kim <pk15950@gmail.com> | 2021-06-18 15:36:13 +0300 |
commit | 2a768ffe4350b6ab7e6b6058263c190e5cfdfe0c (patch) | |
tree | 7049b36368eac8633423408b9e7cdace86e7fb27 /source/blender/editors/space_view3d/view3d_view.c | |
parent | 2585d7f1b812c54043648c128b9aec7a5e24106d (diff) | |
parent | 847b66e81de83653cacd1eb1eb503245cd156e31 (diff) |
Merge branch 'master' into xr-controller-support
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_view.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_view.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_view.c b/source/blender/editors/space_view3d/view3d_view.c index a10a4b45d3f..db1458467bd 100644 --- a/source/blender/editors/space_view3d/view3d_view.c +++ b/source/blender/editors/space_view3d/view3d_view.c @@ -1393,6 +1393,7 @@ static void view3d_localview_exit(const Depsgraph *depsgraph, MEM_freeN(v3d->localvd); v3d->localvd = NULL; + MEM_SAFE_FREE(v3d->runtime.local_stats); LISTBASE_FOREACH (ARegion *, region, &area->regionbase) { if (region->regiontype == RGN_TYPE_WINDOW) { |