Author: Wim Lavrijsen <wlavrij...@lbl.gov> Branch: cppyy-packaging Changeset: r94734:83daee4823bc Date: 2018-05-21 14:30 -0700 http://bitbucket.org/pypy/pypy/changeset/83daee4823bc/
Log: fix memory leak in test diff --git a/pypy/module/_cppyy/test/datatypes.cxx b/pypy/module/_cppyy/test/datatypes.cxx --- a/pypy/module/_cppyy/test/datatypes.cxx +++ b/pypy/module/_cppyy/test/datatypes.cxx @@ -80,6 +80,7 @@ void CppyyTestData::destroy_arrays() { if (m_owns_arrays == true) { delete[] m_bool_array2; + delete[] m_uchar_array2; delete[] m_short_array2; delete[] m_ushort_array2; delete[] m_int_array2; _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit