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

Matthew T. Kromer matt@zope.com
Fri, 1 Feb 2002 13:06:17 -0500


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

Modified Files:
      Tag: Zope-2_5-branch
	cAccessControl.c 
Log Message:
Add INCREF to __roles__ (old code path did not incref, so when parent was
ghosted, the reference failed).


=== Zope/lib/python/AccessControl/cAccessControl.c 1.13 => 1.13.2.1 ===
 		r = self->__roles__;
 		if (r == NULL) goto err;
+		Py_INCREF(r);
 	}
 
 	/*|