]> granicus.if.org Git - python/commitdiff
fix function name
authorBenjamin Peterson <benjamin@python.org>
Sat, 3 Dec 2016 21:07:47 +0000 (13:07 -0800)
committerBenjamin Peterson <benjamin@python.org>
Sat, 3 Dec 2016 21:07:47 +0000 (13:07 -0800)
Modules/posixmodule.c

index fb435e33e2d87e23f64e14ad41efb0138ecb3013..e73805fadfd3e8041ea0c2c7b402c8ef8e4964d2 100644 (file)
@@ -6910,7 +6910,7 @@ posix_fdopen(PyObject *self, PyObject *args)
        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