summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-04-19 14:29:47 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-04-19 14:29:47 (GMT)
commita6aa71deec4694cdaf7ee3f72fbd2602335cd781 (patch)
treef9691d0466696cd6149d57eb297c4bd34b4c4b6f /Tools
parentbbeb1e6d913025be7d16e0663b78b0208a66984d (diff)
downloadcpython-a6aa71deec4694cdaf7ee3f72fbd2602335cd781.zip
cpython-a6aa71deec4694cdaf7ee3f72fbd2602335cd781.tar.gz
cpython-a6aa71deec4694cdaf7ee3f72fbd2602335cd781.tar.bz2
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.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/bgen/bgen/bgenObjectDefinition.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/bgen/bgen/bgenObjectDefinition.py b/Tools/bgen/bgen/bgenObjectDefinition.py
index 71cf21d..87ae40f 100644
--- a/Tools/bgen/bgen/bgenObjectDefinition.py
+++ b/Tools/bgen/bgen/bgenObjectDefinition.py
@@ -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):