From 929bba2bac25127a5b3eb61f67e7dae219064b30 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 27 Jun 2013 06:16:31 +0000 Subject: [PATCH] fix for crash reading from a freed scene when exiting blender. --- source/blender/render/intern/source/pipeline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c index 3e5868edeb9..070585245cf 100644 --- a/source/blender/render/intern/source/pipeline.c +++ b/source/blender/render/intern/source/pipeline.c @@ -411,6 +411,7 @@ void RE_FreeRender(Render *re) /* main dbase can already be invalid now, some database-free code checks it */ re->main = NULL; + re->scene = NULL; RE_Database_Free(re); /* view render can still have full database */ free_sample_tables(re);