Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2020-11-09 20:37:29 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-11-09 20:49:28 +0300
commitcc5294bd91c5ac8a84feaea6553d5c7299b47ff8 (patch)
tree04d0f71cdc3a09bcc85ad0e5d52166cc4879722b
parentec6a9322e8723b906089f02ff76b04a7bb7d136f (diff)
Fix potential crash closing Blender with persistent data option enabled
Found by address sanitizer.
-rw-r--r--source/blender/makesrna/intern/rna_render.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_render.c b/source/blender/makesrna/intern/rna_render.c
index 05b3b0b0c70..1aa5f0ca675 100644
--- a/source/blender/makesrna/intern/rna_render.c
+++ b/source/blender/makesrna/intern/rna_render.c
@@ -298,6 +298,7 @@ static void rna_RenderEngine_unregister(Main *bmain, StructRNA *type)
return;
}
+ RE_FreeAllPersistentData();
RNA_struct_free_extension(type, &et->rna_ext);
RNA_struct_free(&BLENDER_RNA, type);
BLI_freelinkN(&R_engines, et);