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>2008-03-18 17:49:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-03-18 17:49:31 +0300
commitf47aec78c9dc7a74f61b43009a5e1bcc7f190596 (patch)
tree3a87d9bcf6a2854788be9616b061f4a8d320823e /source/blender/python
parentb10726a2ad110e4ca710d047a3f737cfa18131ef (diff)
fix for [#7962] anomalous mem usage with pydrivers.py scripts
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/BPY_interface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/BPY_interface.c b/source/blender/python/BPY_interface.c
index a3c4f9d095e..1f028e49070 100644
--- a/source/blender/python/BPY_interface.c
+++ b/source/blender/python/BPY_interface.c
@@ -2025,6 +2025,7 @@ float BPY_pydriver_eval(IpoDriver *driver)
}
result = ( float )PyFloat_AsDouble( retval );
+ Py_DECREF(retval);
if (result == -1 && PyErr_Occurred()) {
result = pydriver_error(driver);