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>2014-01-21 07:23:39 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-21 07:23:39 +0400
commit85a3d510781297711efa2c740fa59609dab0c108 (patch)
tree280dce3510bc43b36d91cb33f1a118f99104aa6a /source/blender/python
parenta0f25f23010207725afaa92f6b744eaa529484c1 (diff)
Fix for own refcount error in recent commit
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/intern/bpy_rna.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index 16cedccf775..b8640f7208b 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -6274,7 +6274,7 @@ static PyObject *pyrna_srna_Subtype(StructRNA *srna)
/* arg[1] (bases=...) */
PyTuple_SET_ITEM(args, 1, item = PyTuple_New(1));
- PyTuple_SET_ITEM(item, 0, py_base);
+ PyTuple_SET_ITEM(item, 0, py_base); Py_INCREF(py_base);
/* arg[2] (dict=...) */