From: Stefan Krah Date: Sat, 27 Nov 2010 11:44:18 +0000 (+0000) Subject: Fix additional leaks. X-Git-Tag: v3.2b1~191 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=30b341f1a57c33197a17acae95b8ce540407ce1c;p=python Fix additional leaks. --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 028516541a..be99be8651 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();