[Bf-blender-cvs] [98dfe6f] soc-2016-cycles_denoising: Cycles: Fix memory leak in the denoiser

Lukas Stockner noreply at git.blender.org
Sat Aug 13 05:12:40 CEST 2016


Commit: 98dfe6f80035eae4de737ac883a48da304f67665
Author: Lukas Stockner
Date:   Sat Aug 13 05:11:53 2016 +0200
Branches: soc-2016-cycles_denoising
https://developer.blender.org/rB98dfe6f80035eae4de737ac883a48da304f67665

Cycles: Fix memory leak in the denoiser

===================================================================

M	intern/cycles/device/device_cpu.cpp

===================================================================

diff --git a/intern/cycles/device/device_cpu.cpp b/intern/cycles/device/device_cpu.cpp
index 8d77a52d..7c0f5d4 100644
--- a/intern/cycles/device/device_cpu.cpp
+++ b/intern/cycles/device/device_cpu.cpp
@@ -489,6 +489,7 @@ public:
 		WRITE_DEBUG("log_rmse_per_sample", log_rmse_per_sample);
 #undef WRITE_DEBUG
 #endif
+		delete[] storages;
 	}
 
 	void thread_render(DeviceTask& task)




More information about the Bf-blender-cvs mailing list