From 9ea8fafd6ab45bd5dd4171e68440e62f26b728d1 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 3 Dec 2016 13:07:47 -0800 Subject: fix function name --- Modules/posixmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index fb435e3..e73805f 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -6910,7 +6910,7 @@ posix_fdopen(PyObject *self, PyObject *args) tested against in gzip.GzipFile.__init__() - see issue #13781. */ f = PyFile_FromFile(NULL, "", orgmode, fclose); if (f == NULL) { - PyMEM_FREE(mode); + PyMem_FREE(mode); return NULL; } Py_BEGIN_ALLOW_THREADS -- cgit v0.12