forked from bartvdbraak/blender
Fix T48508: Cycles Regression / Crash
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user