From: Martin v. Löwis Date: Mon, 8 May 2006 05:25:56 +0000 (+0000) Subject: Add missing PyMem_Free. X-Git-Tag: v2.5b1~692 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9f485bcd682ed9744ad21de2be3cf2dd3b009353;p=thirdparty%2FPython%2Fcpython.git Add missing PyMem_Free. --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 592f753aaa0e..bce73a6f569d 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -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 */