[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11159] branches/2-44-stable/blender/ source/blender/python/api2_2x/Effect.c: Revision: 11158
Campbell Barton
cbarton at metavr.com
Tue Jul 3 18:06:57 CEST 2007
Revision: 11159
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11159
Author: campbellbarton
Date: 2007-07-03 18:06:57 +0200 (Tue, 03 Jul 2007)
Log Message:
-----------
Revision: 11158
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11158
Author: campbellbarton
Date: 2007-07-03 18:04:41 +0200 (Tue, 03 Jul 2007)
Log Message:
-----------
was missing a decref and leaking ram when building the static particle list
Revision: 11158
M Effect.c
Modified Paths:
--------------
branches/2-44-stable/blender/source/blender/python/api2_2x/Effect.c
Modified: branches/2-44-stable/blender/source/blender/python/api2_2x/Effect.c
===================================================================
--- branches/2-44-stable/blender/source/blender/python/api2_2x/Effect.c 2007-07-03 16:04:41 UTC (rev 11158)
+++ branches/2-44-stable/blender/source/blender/python/api2_2x/Effect.c 2007-07-03 16:06:57 UTC (rev 11159)
@@ -1563,7 +1563,7 @@
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 */
More information about the Bf-blender-cvs
mailing list