Skip to content

Commit

Permalink
Fix additional leaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-tester committed Nov 27, 2010
1 parent 6e165b3 commit 30b341f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Modules/posixmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 30b341f

Please sign in to comment.