[pypy-commit] pypy default: Step 1 in trying to fix the pyexpat memory leak.
justinpeel
noreply at buildbot.pypy.org
Fri Sep 16 18:12:28 CEST 2011
Author: Justin Peel <notmuchtotell at gmail.com>
Branch:
Changeset: r47294:6920e70a7300
Date: 2011-09-16 10:12 -0600
http://bitbucket.org/pypy/pypy/changeset/6920e70a7300/
Log: Step 1 in trying to fix the pyexpat memory leak.
diff --git a/pypy/module/pyexpat/interp_pyexpat.py b/pypy/module/pyexpat/interp_pyexpat.py
--- a/pypy/module/pyexpat/interp_pyexpat.py
+++ b/pypy/module/pyexpat/interp_pyexpat.py
@@ -409,8 +409,7 @@
if XML_ParserFree: # careful with CPython interpreter shutdown
XML_ParserFree(self.itself)
if global_storage:
- global_storage.free_nonmoving_id(
- rffi.cast(lltype.Signed, self.itself))
+ global_storage.free_nonmoving_id(self.id)
@unwrap_spec(flag=int)
def SetParamEntityParsing(self, space, flag):
More information about the pypy-commit
mailing list