diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-22 17:57:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-22 17:57:19 +0300 |
commit | 20dc752e14257c78809ada8ddfa19c26fd79a234 (patch) | |
tree | d01a0322100a412c12e2a9995c0a3771b07ea567 /source/gameengine/Ketsji/KX_Scene.cpp | |
parent | c36f78dd41b8d2c714b2a94c43eabe928afea26a (diff) |
missing decref from patch #19258
Diffstat (limited to 'source/gameengine/Ketsji/KX_Scene.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_Scene.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_Scene.cpp b/source/gameengine/Ketsji/KX_Scene.cpp index c018dcd387f..d397d0db541 100644 --- a/source/gameengine/Ketsji/KX_Scene.cpp +++ b/source/gameengine/Ketsji/KX_Scene.cpp @@ -424,6 +424,9 @@ void KX_Scene::RunDrawingCallbacks(PyObject* cb_list) PyErr_Print(); PyErr_Clear(); } + else { + Py_DECREF(ret); + } } } } |