Fix T48508: Cycles Regression / Crash

This commit is contained in:
Sergey Sharybin 2016-05-24 14:53:34 +02:00
parent 2e190abf70
commit 42b26206c6

@ -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;
}