[Python-checkins] r86829 - python/branches/py3k/Modules/posixmodule.c

stefan.krah python-checkins at python.org
Sat Nov 27 12:44:18 CET 2010


Author: stefan.krah
Date: Sat Nov 27 12:44:18 2010
New Revision: 86829

Log:
Fix additional leaks.

Modified:
   python/branches/py3k/Modules/posixmodule.c

Modified: python/branches/py3k/Modules/posixmodule.c
==============================================================================
--- python/branches/py3k/Modules/posixmodule.c	(original)
+++ python/branches/py3k/Modules/posixmodule.c	Sat Nov 27 12:44:18 2010
@@ -2263,6 +2263,8 @@
     rslt = CreateHardLink(dst, src, NULL);
     Py_END_ALLOW_THREADS
 
+    Py_DECREF(osrc);
+    Py_DECREF(odst);
     if (rslt == 0)
         return posix_error();
 


More information about the Python-checkins mailing list