diff options
author | Maxime Curioni <maxime.curioni@gmail.com> | 2009-04-09 03:03:46 +0400 |
---|---|---|
committer | Maxime Curioni <maxime.curioni@gmail.com> | 2009-04-09 03:03:46 +0400 |
commit | f9cc722e5774509b0a8e8bdcacb7e017a6017381 (patch) | |
tree | 68230fd0a03549f3d0be0e592d0633647711ce45 | |
parent | 7e1d0b50037c1fc88e52d1f377f4d96a7a11f8df (diff) |
Corrected memory deallocation error on exit
-rw-r--r-- | source/blender/freestyle/intern/stroke/BlenderStrokeRenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/stroke/BlenderStrokeRenderer.cpp b/source/blender/freestyle/intern/stroke/BlenderStrokeRenderer.cpp index 9665aba9bd0..411f5bf9ddf 100644 --- a/source/blender/freestyle/intern/stroke/BlenderStrokeRenderer.cpp +++ b/source/blender/freestyle/intern/stroke/BlenderStrokeRenderer.cpp @@ -89,9 +89,9 @@ BlenderStrokeRenderer::~BlenderStrokeRenderer(){ _textureManager = 0; } - free_scene( scene ); free_object( object_camera ); free_material( material ); + free_libblock( &G.main->scene, scene ); set_scene_bg( old_scene ); } |