[Zope-Checkins]
SVN: Zope/trunk/lib/python/Acquisition/_Acquisition.c
Forward port fix for Collector #1799.
Tres Seaver
tseaver at palladion.com
Fri Jun 3 13:28:19 EDT 2005
Log message for revision 30626:
Forward port fix for Collector #1799.
Changed:
U Zope/trunk/lib/python/Acquisition/_Acquisition.c
-=-
Modified: Zope/trunk/lib/python/Acquisition/_Acquisition.c
===================================================================
--- Zope/trunk/lib/python/Acquisition/_Acquisition.c 2005-06-03 16:24:32 UTC (rev 30625)
+++ Zope/trunk/lib/python/Acquisition/_Acquisition.c 2005-06-03 17:28:19 UTC (rev 30626)
@@ -155,9 +155,9 @@
UNLESS(r=PyObject_GetAttr(inst, py__of__)) return NULL;
UNLESS(t=PyTuple_New(1)) goto err;
+ Py_INCREF(parent);
PyTuple_SET_ITEM(t,0,parent);
ASSIGN(r,PyObject_CallObject(r,t));
- PyTuple_SET_ITEM(t,0,NULL);
Py_DECREF(t);
if (r != NULL
More information about the Zope-Checkins
mailing list