[Bf-blender-cvs] [85a3d51] master: Fix for own refcount error in recent commit
Campbell Barton
noreply at git.blender.org
Tue Jan 21 04:24:30 CET 2014
Commit: 85a3d510781297711efa2c740fa59609dab0c108
Author: Campbell Barton
Date: Tue Jan 21 14:23:39 2014 +1100
https://developer.blender.org/rB85a3d510781297711efa2c740fa59609dab0c108
Fix for own refcount error in recent commit
===================================================================
M source/blender/python/intern/bpy_rna.c
===================================================================
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index 16cedcc..b8640f7 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=...) */
More information about the Bf-blender-cvs
mailing list