Kaydet (Commit) ef5f2b9d authored tarafından Neil Schemenauer's avatar Neil Schemenauer

- plug a memory leak due to circular lists

üst d569f23d
......@@ -80,6 +80,9 @@ def dotest(pickle):
x2 = pickle.loads(s)
if x2 == r: print "ok"
else: print "bad"
# don't create cyclic garbage
del x2[0]
del r[0]
# Test protection against closed files
import tempfile, os
......
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