[Python-checkins] cpython (2.7): fix function name

benjamin.peterson python-checkins at python.org
Sat Dec 3 16:07:51 EST 2016


https://hg.python.org/cpython/rev/2b8df35c5990
changeset:   105443:2b8df35c5990
branch:      2.7
user:        Benjamin Peterson <benjamin at python.org>
date:        Sat Dec 03 13:07:47 2016 -0800
summary:
  fix function name

files:
  Modules/posixmodule.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -6910,7 +6910,7 @@
        tested against in gzip.GzipFile.__init__() - see issue #13781. */
     f = PyFile_FromFile(NULL, "<fdopen>", orgmode, fclose);
     if (f == NULL) {
-        PyMEM_FREE(mode);
+        PyMem_FREE(mode);
         return NULL;
     }
     Py_BEGIN_ALLOW_THREADS

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list