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

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


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

Modified Files:
      Tag: Zope-2_5-branch
	cAccessControl.c 
Log Message:
Checkin fix for Bug # 421 -- leak in cAccessControl


=== Zope/lib/python/AccessControl/cAccessControl.c 1.13.2.2 => 1.13.2.3 ===
                   }
 
 		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)