summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-05-08 05:25:56 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-05-08 05:25:56 (GMT)
commit9f485bcd682ed9744ad21de2be3cf2dd3b009353 (patch)
tree452f0e2b51cc6b0a705d28e6919e923449e04ded /Modules/posixmodule.c
parente58334ae9e4a635794ff0605f125eec459b9b98f (diff)
downloadcpython-9f485bcd682ed9744ad21de2be3cf2dd3b009353.zip
cpython-9f485bcd682ed9744ad21de2be3cf2dd3b009353.tar.gz
cpython-9f485bcd682ed9744ad21de2be3cf2dd3b009353.tar.bz2
Add missing PyMem_Free.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 592f753..bce73a6 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 */