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>2009-04-06 12:17:04 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-04-06 12:17:04 +0400
commitc10d1c28532e238f418244df7c994c212634114a (patch)
treeae4fbed9502b06c68e5e1f2a6347535a8add0554 /source/gameengine/Ketsji/KX_PyConstraintBinding.cpp
parenta95f97cb2832296fc02cb2cb236cbb69d51a3cf1 (diff)
Python ref-counting fixes
Diffstat (limited to 'source/gameengine/Ketsji/KX_PyConstraintBinding.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_PyConstraintBinding.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp b/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp
index fb37eded450..34c975f6bf6 100644
--- a/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp
+++ b/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp
@@ -582,6 +582,7 @@ PyObject* initPythonConstraintBinding()
d = PyModule_GetDict(m);
ErrorObject = PyString_FromString("PhysicsConstraints.error");
PyDict_SetItemString(d, "error", ErrorObject);
+ Py_DECREF(ErrorObject);
// XXXX Add constants here