Fix T56720: Lattice: crash on setting points_u/v/w from python.
authorBastien Montagne <montagne29@wanadoo.fr>
Sat, 8 Sep 2018 13:29:39 +0000 (15:29 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Sat, 8 Sep 2018 13:29:39 +0000 (15:29 +0200)
commit4594cc25ac8f8c07e62eb32f745be01e9444c2b4
tree1c2bad0a6ebec7a28f8508f3eadcc3e39ddcee31
parent59eaa9030098b7991c3a8bf01f56fe7f2cf0cd36
Fix T56720: Lattice: crash on setting points_u/v/w from python.

One need to check that there is something to free, before trying to free it...
source/blender/blenkernel/intern/lattice.c