diff options
author | Ton Roosendaal <ton@blender.org> | 2005-10-03 23:39:34 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-10-03 23:39:34 +0400 |
commit | eb698196d0397929ee5ded8c4801da1aad881f4d (patch) | |
tree | 091a8a920eb2e6d6be875230d6ceb1eef4086e9c /source/blender/renderconverter/intern/convertBlenderScene.c | |
parent | f2af563f92b7c33d0ddf7b97bbd2c168cf21e5a6 (diff) |
World AO table was freed, but a pointer not NULLed correctly, causing a
memory error on end render.
Diffstat (limited to 'source/blender/renderconverter/intern/convertBlenderScene.c')
-rw-r--r-- | source/blender/renderconverter/intern/convertBlenderScene.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/renderconverter/intern/convertBlenderScene.c b/source/blender/renderconverter/intern/convertBlenderScene.c index 60d8745526e..b563f5f0a50 100644 --- a/source/blender/renderconverter/intern/convertBlenderScene.c +++ b/source/blender/renderconverter/intern/convertBlenderScene.c @@ -2381,6 +2381,7 @@ void RE_freeRotateBlenderScene(void) if(R.wrld.aosphere) { MEM_freeN(R.wrld.aosphere); R.wrld.aosphere= NULL; + G.scene->world->aosphere= NULL; } R.totvlak=R.totvert=R.totlamp=R.tothalo= 0; |