[Zope3-checkins] CVS: Zope3/src/zope/app/container - _zope_app_container_contained.c:1.1.2.4

Jim Fulton jim at zope.com
Thu Sep 18 11:48:22 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/container
In directory cvs.zope.org:/tmp/cvs-serv24546

Modified Files:
      Tag: parentgeddon-branch
	_zope_app_container_contained.c 
Log Message:
Fixed typo that cause a memory leak.


=== Zope3/src/zope/app/container/_zope_app_container_contained.c 1.1.2.3 => 1.1.2.4 ===
--- Zope3/src/zope/app/container/_zope_app_container_contained.c:1.1.2.3	Wed Sep 17 18:58:05 2003
+++ Zope3/src/zope/app/container/_zope_app_container_contained.c	Thu Sep 18 11:48:20 2003
@@ -216,7 +216,7 @@
 static int
 CP_traverse(ProxyObject *self, visitproc visit, void *arg)
 {
-  if (PyPersist_TYPE->tp_traverse((PyObject *)self, visit, arg) < 1)
+  if (PyPersist_TYPE->tp_traverse((PyObject *)self, visit, arg) < 0)
     return -1;
   if (self->po_serial != NULL && visit(self->po_serial, arg) < 0)
     return -1;




More information about the Zope3-Checkins mailing list