[Zope-Checkins] CVS: Packages/AccessControl -
cAccessControl.c:1.20.2.22
Andreas Jung
andreas at andreas-jung.com
Tue Aug 2 05:32:31 EDT 2005
Update of /cvs-repository/Packages/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv31380/lib/python/AccessControl
Modified Files:
Tag: Zope-2_7-branch
cAccessControl.c
Log Message:
- Collector #1807: fixed memory leak in cAccessControl.guarded_getattr()
=== Packages/AccessControl/cAccessControl.c 1.20.2.21 => 1.20.2.22 ===
--- Packages/AccessControl/cAccessControl.c:1.20.2.21 Tue Feb 15 15:59:25 2005
+++ Packages/AccessControl/cAccessControl.c Tue Aug 2 05:32:30 2005
@@ -2144,7 +2144,10 @@
t = aq_Acquire(inst, name, aq_validate, validate, 1, NULL, 0);
if (t == NULL)
+ {
+ Py_DECREF(v);
return NULL;
+ }
Py_DECREF(t);
return v;
More information about the Zope-Checkins
mailing list