Commit ac87f73d authored by matt@zope.com's avatar matt@zope.com

Checkin fix for Collector 421: cAccessControl storage leak

parent dc4720fa
......@@ -73,6 +73,8 @@ Zope Changes
- Fix bug in ISO_8859_1 splitter which corruped storage on
initialization.
- Collector #421: Storage leak in cAccessControl
Features Added
- ZCatalog index management ui is now integrated into ZCatalog rather
......
......@@ -36,7 +36,7 @@
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
$Id: cAccessControl.c,v 1.16 2002/04/12 15:21:47 matt Exp $
$Id: cAccessControl.c,v 1.17 2002/07/23 14:08:55 matt Exp $
If you have questions regarding this software,
contact:
......@@ -1028,7 +1028,7 @@ static PyObject *ZopeSecurityPolicy_validate(PyObject *self, PyObject *args) {
}
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)
......@@ -2097,7 +2097,7 @@ void initcAccessControl(void) {
module = Py_InitModule3("cAccessControl",
cAccessControl_methods,
"$Id: cAccessControl.c,v 1.16 2002/04/12 15:21:47 matt Exp $\n");
"$Id: cAccessControl.c,v 1.17 2002/07/23 14:08:55 matt Exp $\n");
aq_init(); /* For Python <= 2.1.1, aq_init() should be after
Py_InitModule(). */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment