Cycles: Fixed memory leak in ColorSpaceManager

Cached OCIO processors were not freed, instead the color spaces were freed twice.

Reviewed By: brecht, sergey

Differential Revision: https://developer.blender.org/D12011
This commit is contained in:
Stefan Werner 2021-07-23 15:23:00 +02:00
parent 12afb19959
commit 1a3cb90e4e
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ void ColorSpaceManager::free_memory()
{
#ifdef WITH_OCIO
map_free_memory(cached_colorspaces);
map_free_memory(cached_colorspaces);
map_free_memory(cached_processors);
#endif
}