commit | 3708316afa061dc6c1c6a1207f4998974cfa0752 | [log] [tgz] |
---|---|---|
author | Petr Viktorin <encukou@gmail.com> | Wed May 29 05:35:33 2019 +0200 |
committer | Ned Deily <nad@python.org> | Tue May 28 23:35:33 2019 -0400 |
tree | c111f958d63d46c825464c5614e303a6c064849e | |
parent | 8ea0fd85bc67438f679491fae29dfe0a3961900a [diff] |
[3.7] Fix a possible crash due to PyType_FromSpecWithBases() (GH-10304) (GH-13495) If the PyObject_MALLOC() call failed in PyType_FromSpecWithBases(), PyObject_Free() would be called on a static string in type_dealloc(). (cherry picked from commit 0613c1e481440aa8f54ba7f6056924c175fbcc13) Co-authored-by: Zackery Spytz <zspytz@gmail.com>