Fix return of stack memory
The fix is suggested by Jacques. Pull Request: https://projects.blender.org/blender/blender/pulls/107586
This commit is contained in:
committed by
Sergey Sharybin
parent
ac1ac6be9a
commit
42cdd39618
@@ -397,7 +397,7 @@ class LazyFunctionForSimulationOutputNode final : public LazyFunction {
|
||||
|
||||
void *init_storage(LinearAllocator<> &allocator) const
|
||||
{
|
||||
return allocator.construct<EvalData>().get();
|
||||
return allocator.construct<EvalData>().release();
|
||||
}
|
||||
|
||||
void destruct_storage(void *storage) const
|
||||
|
||||
Reference in New Issue
Block a user