Author: Justin Peel <notmuchtot...@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): _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit