diff options
author | Stefan Krah <stefan@bytereef.org> | 2010-11-27 11:44:18 (GMT) |
---|---|---|
committer | Stefan Krah <stefan@bytereef.org> | 2010-11-27 11:44:18 (GMT) |
commit | 30b341f1a57c33197a17acae95b8ce540407ce1c (patch) | |
tree | eedd0d8f459100bd18e71a13da8b45f3b84e155c /Modules | |
parent | 6e165b30de0120360f13d86652db4c528941269f (diff) | |
download | cpython-30b341f1a57c33197a17acae95b8ce540407ce1c.zip cpython-30b341f1a57c33197a17acae95b8ce540407ce1c.tar.gz cpython-30b341f1a57c33197a17acae95b8ce540407ce1c.tar.bz2 |
Fix additional leaks.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 0285165..be99be8 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -2263,6 +2263,8 @@ win32_link(PyObject *self, PyObject *args) rslt = CreateHardLink(dst, src, NULL); Py_END_ALLOW_THREADS + Py_DECREF(osrc); + Py_DECREF(odst); if (rslt == 0) return posix_error(); |