summaryrefslogtreecommitdiffstats
path: root/Modules/symtablemodule.c
diff options
context:
space:
mode:
authorBatuhan Taskaya <isidentical@gmail.com>2021-05-03 07:43:00 (GMT)
committerGitHub <noreply@github.com>2021-05-03 07:43:00 (GMT)
commitad106c68eb00f5e4af2f937107baff6141948cee (patch)
treee3b3b5aa1e2f62015da34efd1a46b4faef378ab1 /Modules/symtablemodule.c
parent37ebdf0a866457ce825d0ff6e498a10938895760 (diff)
downloadcpython-ad106c68eb00f5e4af2f937107baff6141948cee.zip
cpython-ad106c68eb00f5e4af2f937107baff6141948cee.tar.gz
cpython-ad106c68eb00f5e4af2f937107baff6141948cee.tar.bz2
bpo-42725: Render annotations effectless on symbol table with PEP 563 (GH-25583)
Diffstat (limited to 'Modules/symtablemodule.c')
-rw-r--r--Modules/symtablemodule.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/symtablemodule.c b/Modules/symtablemodule.c
index cf10b4d..c25ecc2 100644
--- a/Modules/symtablemodule.c
+++ b/Modules/symtablemodule.c
@@ -58,7 +58,6 @@ _symtable_symtable_impl(PyObject *module, PyObject *source,
}
t = (PyObject *)st->st_top;
Py_INCREF(t);
- PyMem_Free((void *)st->st_future);
_PySymtable_Free(st);
return t;
}