diff options
author | Stefan Werner <stefan.werner@tangent-animation.com> | 2018-08-14 23:51:53 +0300 |
---|---|---|
committer | Stefan Werner <stefan.werner@tangent-animation.com> | 2018-08-14 23:51:53 +0300 |
commit | a9700e7ad276a82d7109c5ddf6deb490371429f0 (patch) | |
tree | a584159577b9bfa5fb35689dba244dbbcb8277c8 /intern | |
parent | 5d034351def8e994bb0abcd2c2202a0636158828 (diff) |
Fix T56359: Unitialized variable in Cycles OpenCL could cause crashes.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/device/opencl/opencl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/opencl/opencl.h b/intern/cycles/device/opencl/opencl.h index d0571fc3c14..6c73d10a376 100644 --- a/intern/cycles/device/opencl/opencl.h +++ b/intern/cycles/device/opencl/opencl.h @@ -271,7 +271,7 @@ public: class OpenCLProgram { public: - OpenCLProgram() : loaded(false), device(NULL) {} + OpenCLProgram() : loaded(false), program(NULL), device(NULL) {} OpenCLProgram(OpenCLDeviceBase *device, const string& program_name, const string& kernel_name, |