[pypy-commit] [Git][pypy/pypy][branch/py3.8] fix pyparser/test/test_pyparse.py::TestPythonParserRevDB::test_encoding
Carl Friedrich Bolz-Tereick (@cfbolz)
foss at heptapod.net
Thu Jul 22 16:02:02 EDT 2021
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/pypy-commit/attachments/20210722/7258dd8a/attachment.html>
More information about the pypy-commit
mailing list