summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-04-10 06:57:06 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-04-10 06:57:06 (GMT)
commit14bc4e4d89c46ff418abdd84929fc5832b0a505f (patch)
treed2b25595c77278bd459e1861c3f4c71b00edc42a /Python/compile.c
parent2c4e4f98397bcc591ad3a551e1e57cea0e2bd986 (diff)
downloadcpython-14bc4e4d89c46ff418abdd84929fc5832b0a505f.zip
cpython-14bc4e4d89c46ff418abdd84929fc5832b0a505f.tar.gz
cpython-14bc4e4d89c46ff418abdd84929fc5832b0a505f.tar.bz2
Use PyObject_* allocator since FutureFeatures is small
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index ae4c850..6c8ec53 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -314,7 +314,7 @@ compiler_free(struct compiler *c)
if (c->c_st)
PySymtable_Free(c->c_st);
if (c->c_future)
- PyMem_Free(c->c_future);
+ PyObject_Free(c->c_future);
Py_DECREF(c->c_stack);
}