Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-11-30 03:22:17 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-30 03:22:17 +0300
commit7ec5a68091a8ed3eb066fca832eb26a3692ea654 (patch)
tree9d4156a990974151440249a3377e594d38577bd2 /source/blender/python
parent76a5e2abe3f76eac03969a176d91830562e0b10a (diff)
Fix T58240: mathutils.noise.voronoi crash
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/mathutils/mathutils_noise.c1
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);