diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-24 15:53:34 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-24 15:53:34 +0300 |
commit | 42b26206c66581f10a03a0908ee777f8d205b2fa (patch) | |
tree | 6025bc6a267a4dafeaef4563f40502e30675e8fe /intern/cycles | |
parent | 2e190abf70c1ca099d7116df5ef7e586c2da9417 (diff) |
Fix T48508: Cycles Regression / Crash
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/kernel/kernel_shadow.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/intern/cycles/kernel/kernel_shadow.h b/intern/cycles/kernel/kernel_shadow.h index c8f6503cf58..1abbbb2ddad 100644 --- a/intern/cycles/kernel/kernel_shadow.h +++ b/intern/cycles/kernel/kernel_shadow.h @@ -126,8 +126,6 @@ ccl_device_inline bool shadow_blocked(KernelGlobals *kg, ShaderData *shadow_sd, /* stop if all light is blocked */ if(is_zero(throughput)) { /* free dynamic storage */ - if(hits != hits_stack) - free(hits); return true; } |