mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Fix additional leaks.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user