diff options
-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; } |