Color Management: RGB curves transform as a part of display transform
[blender-staging.git] / source / blender / blenkernel / intern / scene.c
index e74413c3198d3a75dea1d325b5ffd26dd90e81b5..1bd8f3dfcd2b94af08045507499e10bcf0e3d795 100644 (file)
@@ -342,6 +342,8 @@ void BKE_scene_free(Scene *sce)
                MEM_freeN(sce->fps_info);
 
        sound_destroy_scene(sce);
+
+       BKE_color_managed_view_settings_free(&sce->view_settings);
 }
 
 Scene *BKE_scene_add(const char *name)