Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Werner <stefan.werner@tangent-animation.com>2018-08-14 23:51:53 +0300
committerStefan Werner <stefan.werner@tangent-animation.com>2018-08-14 23:51:53 +0300
commita9700e7ad276a82d7109c5ddf6deb490371429f0 (patch)
treea584159577b9bfa5fb35689dba244dbbcb8277c8 /intern/cycles/device
parent5d034351def8e994bb0abcd2c2202a0636158828 (diff)
Fix T56359: Unitialized variable in Cycles OpenCL could cause crashes.
Diffstat (limited to 'intern/cycles/device')
-rw-r--r--intern/cycles/device/opencl/opencl.h2
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,