diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-07-03 20:04:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-07-03 20:04:41 +0400 |
commit | 727216f9e1fbd8612dc9ec5d1daf1bfea5942f0e (patch) | |
tree | 007fed5fd91439b559845eb146829f7260bec129 /source/blender/python/api2_2x/Effect.c | |
parent | 3904e29a6f5a700689fd74be731f6f9cd0c0db6d (diff) |
was missing a decref and leaking ram when building the static particle list
Diffstat (limited to 'source/blender/python/api2_2x/Effect.c')
-rw-r--r-- | source/blender/python/api2_2x/Effect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Effect.c b/source/blender/python/api2_2x/Effect.c index f8a4f3dcc63..22cef7e9d12 100644 --- a/source/blender/python/api2_2x/Effect.c +++ b/source/blender/python/api2_2x/Effect.c @@ -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 */ |