mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Oops: we used PyMem_DEL() to clean up objects, and that's a problem since
pymalloc, apparently. Fixed, but this means all bgen-generated modules will have to be re-generated. I hope (and expect) that the pymalloc fixes aren't bugfix candidates, because if they are this is one too.
This commit is contained in:
parent
bbeb1e6d91
commit
a6aa71deec
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ class ObjectDefinition(GeneratorGroup):
|
|||
Output("static void %s_dealloc(%s *self)", self.prefix, self.objecttype)
|
||||
OutLbrace()
|
||||
self.outputCleanupStructMembers()
|
||||
Output("PyMem_DEL(self);")
|
||||
Output("PyObject_Del(self);")
|
||||
OutRbrace()
|
||||
|
||||
def outputCleanupStructMembers(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue