Fix additional leaks.

This commit is contained in:
Stefan Krah 2010-11-27 11:44:18 +00:00
parent 6e165b30de
commit 30b341f1a5

View file

@ -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();