Carl Friedrich Bolz-Tereick pushed to branch branch/py3.8 at PyPy / pypy
Commits: d37e02b9 by Carl Friedrich Bolz-Tereick at 2021-07-22T22:01:48+02:00 fix pyparser/test/test_pyparse.py::TestPythonParserRevDB::test_encoding it was failing because the malloc leak finder was pointing out that the buffer of a buffered reader was actually never released! RevDB is special, because due to the split address space it is actually using a RawByteBuffer instead of a ByteBuffer. fix this by just setting the reference to the buffer to None when closing the buffered reader --HG-- branch : py3.8 - - - - - 1 changed file: - pypy/module/_io/interp_bufferedio.py View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/commit/d37e02b9ec1d1060e6333f0e3e722a6b1fb0ed22 -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/commit/d37e02b9ec1d1060e6333f0e3e722a6b1fb0ed22 You're receiving this email because of your account on foss.heptapod.net.
_______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit