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:
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index f564e8c8fbf..ac0508ac10d 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -519,7 +519,9 @@ static void blender_crash_handler(int signum)
fname, errno ? strerror(errno) : "Unknown error opening file");
}
else {
- BKE_report_write_file_fp(fp, &wm->reports, header);
+ if (wm) {
+ BKE_report_write_file_fp(fp, &wm->reports, header);
+ }
blender_crash_handler_backtrace(fp);