[Zope-Checkins] CVS: Releases/Zope/lib/python/AccessControl - cAccessControl.c:1.17

Matthew T. Kromer matt@zope.com
Tue, 23 Jul 2002 10:08:56 -0400


Update of /cvs-repository/Releases/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv23173/lib/python/AccessControl

Modified Files:
	cAccessControl.c 
Log Message:
Checkin fix for Collector 421: cAccessControl storage leak


=== Releases/Zope/lib/python/AccessControl/cAccessControl.c 1.16 => 1.17 ===
                   }
 
 		if (owner != Py_None) {
-                  owner = PyObject_GetAttr(owner, allowed_str);
+                  ASSIGN(owner,PyObject_GetAttr(owner, allowed_str));
                   if (owner)
                     ASSIGN(owner, callfunction2(owner, value, roles));
                   if (owner == NULL)