]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add missing PyMem_Free.
authorMartin v. Löwis <martin@v.loewis.de>
Mon, 8 May 2006 05:25:56 +0000 (05:25 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Mon, 8 May 2006 05:25:56 +0000 (05:25 +0000)
Modules/posixmodule.c

index 592f753aaa0e85715a3a44a9e198fa0bb9c15292..bce73a6f569df1aaa03849dbe0b6abf08a3742ac 100644 (file)
@@ -1553,6 +1553,7 @@ posix_chmod(PyObject *self, PyObject *args)
                PyMem_Free(path);
                return NULL;
        }
+       PyMem_Free(path);
        Py_INCREF(Py_None);
        return Py_None;
 #else /* Py_WIN_WIDE_FILENAMES */