was missing a decref and leaking ram when building the static particle list

This commit is contained in:
2007-07-03 16:04:41 +00:00
parent 3904e29a6f
commit 727216f9e1

View File

@@ -1367,7 +1367,7 @@ static PyObject *Effect_getParticlesLoc( BPy_Effect * self )
return EXPP_ReturnPyObjError( PyExc_RuntimeError,
"Couldn't append item to PyList" );
}
Py_DECREF( strand_list );
} else {
if(c_time > pa->time && c_time < pa->time+pa->lifetime ) {
/* vector particles are a tuple of 2 vectors */