mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Fix additional leaks.
This commit is contained in:
parent
6e165b30de
commit
30b341f1a5
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue