diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-30 03:22:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-30 03:22:17 +0300 |
commit | 7ec5a68091a8ed3eb066fca832eb26a3692ea654 (patch) | |
tree | 9d4156a990974151440249a3377e594d38577bd2 /source/blender/python/mathutils/mathutils_noise.c | |
parent | 76a5e2abe3f76eac03969a176d91830562e0b10a (diff) |
Fix T58240: mathutils.noise.voronoi crash
Diffstat (limited to 'source/blender/python/mathutils/mathutils_noise.c')
-rw-r--r-- | source/blender/python/mathutils/mathutils_noise.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/python/mathutils/mathutils_noise.c b/source/blender/python/mathutils/mathutils_noise.c index 05a1cd43530..5e3e86c8ddf 100644 --- a/source/blender/python/mathutils/mathutils_noise.c +++ b/source/blender/python/mathutils/mathutils_noise.c @@ -970,7 +970,6 @@ static PyObject *M_Noise_voronoi(PyObject *UNUSED(self), PyObject *args, PyObjec for (i = 0; i < 4; i++) { PyObject *v = Vector_CreatePyObject(pa + 3 * i, 3, NULL); PyList_SET_ITEM(list, i, v); - Py_DECREF(v); } ret = Py_BuildValue("[[ffff]O]", da[0], da[1], da[2], da[3], list); |