Fix (unreported) memory leak in Fluid modifier copying.
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 19 Jun 2017 10:21:14 +0000 (12:21 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 19 Jun 2017 10:21:14 +0000 (12:21 +0200)
commite9aaf5ed211d5f71fd2934c8814143c15fd47d5e
tree1e56f806d2ad8342f8614ce5509bfb5b444c8033
parent72c9141a7a56fa4762ac0daae501f1609532506c
Fix (unreported) memory leak in Fluid modifier copying.

Also generally simplify/sanitize this copy code.
source/blender/modifiers/intern/MOD_fluidsim.c
source/blender/modifiers/intern/MOD_fluidsim_util.c