fix for [#7962] anomalous mem usage with pydrivers.py scripts

This commit is contained in:
Campbell Barton 2008-03-18 14:49:31 +00:00
parent b10726a2ad
commit f47aec78c9

@ -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);