From: Benjamin Peterson Date: Sat, 3 Dec 2016 21:07:47 +0000 (-0800) Subject: fix function name X-Git-Tag: v2.7.13~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ea8fafd6ab45bd5dd4171e68440e62f26b728d1;p=python fix function name --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index fb435e33e2..e73805fadf 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