Fix: Mantaflow: move allocation after early return #121104

Merged
YimingWu merged 1 commits from ChengduLittleA/blender:fixmem4 into main 2024-04-26 06:31:36 +02:00

1 Commits

Author SHA1 Message Date
YimingWu b775a6eb7d Fix: Mantaflow: move allocation after early return
Varibale `pic` is allowcated before an early return, which could cause
a memory leak. Now fixed.
2024-04-26 12:26:27 +08:00