Some of the setattr functions created a tuple to pass to the set* functions and didn't decref'ed it properly, "leaking" memory.

Commit approved by stivs.
This commit is contained in:
2005-06-17 05:10:14 +00:00
parent 2a640f03cd
commit 5f5844b95e
9 changed files with 202 additions and 161 deletions

View File

@@ -1514,6 +1514,8 @@ static int CurveSetAttr( BPy_Curve * self, char *name, PyObject * value )
error = Curve_setName( self, valtuple );
else if( strcmp( name, "pathlen" ) == 0 )
error = Curve_setPathLen( self, valtuple );
else if( strcmp( name, "bevresol" ) == 0 )
error = Curve_setBevresol( self, valtuple );
else if( strcmp( name, "resolu" ) == 0 )
error = Curve_setResolu( self, valtuple );
else if( strcmp( name, "resolv" ) == 0 )