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:
authormano-wii <germano.costa@ig.com.br>2018-10-09 02:01:55 +0300
committermano-wii <germano.costa@ig.com.br>2018-10-09 02:01:55 +0300
commitcf03658adbbc17d093be123c06d1611c25c7fea6 (patch)
tree588dd0b44786066cc700ed6cd1aaba5bab1a0527 /source/blender/python/generic/idprop_py_api.c
parentd592eb510e654666cc7b240aa379f4e529cd43c8 (diff)
Fix misuse of Py_INCREF in module creation.
Differential Revision: https://developer.blender.org/D3697
Diffstat (limited to 'source/blender/python/generic/idprop_py_api.c')
-rw-r--r--source/blender/python/generic/idprop_py_api.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/python/generic/idprop_py_api.c b/source/blender/python/generic/idprop_py_api.c
index 03ec8e54d07..072c11b14e5 100644
--- a/source/blender/python/generic/idprop_py_api.c
+++ b/source/blender/python/generic/idprop_py_api.c
@@ -1811,7 +1811,6 @@ PyObject *BPyInit_idprop(void)
/* idprop.types */
PyModule_AddObject(mod, "types", (submodule = BPyInit_idprop_types()));
PyDict_SetItem(sys_modules, PyModule_GetNameObject(submodule), submodule);
- Py_INCREF(submodule);
return mod;
}