summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
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);
}