[Zope-Checkins] CVS: Zope2 - xmlrpclib.py:1.6

chrism@serenade.digicool.com chrism@serenade.digicool.com
Mon, 21 May 2001 12:38:55 -0400


Update of /cvs-repository/Zope2/lib/python
In directory serenade:/home/chrism/sandboxes/PostRegexTrunk/lib/python

Modified Files:
	xmlrpclib.py 
Log Message:
Fix memleak bug reported on Zope list.  This is instead of moving from Secret Lab's development release of xmlrpclib (0.9.9).



--- Updated File xmlrpclib.py in package Zope2 --
--- xmlrpclib.py	2000/07/12 17:33:07	1.5
+++ xmlrpclib.py	2001/05/21 16:38:54	1.6
@@ -217,7 +217,7 @@
             try:
                 self.parser.close()
             finally:
-                self.parser = None # nuke circular reference
+                self.parser = self.feed = None # nuke circular reference
 
         def handle_entityref(self, entity):
             # <string> entity