[Python-checkins] commit of r41426 - in python/trunk: . PC

fredrik.lundh@python.org fredrik.lundh at python.org
Sat Nov 12 11:15:04 CET 2005


Author: fredrik.lundh
Date: Sat Nov 12 11:15:03 2005
New Revision: 41426
Modified:
 python/trunk/ (props changed)
 python/trunk/PC/_subprocess.c
Log:
 r849 at spiff: Fredrik | 2005年11月09日 10:00:04 +0100
 fixed resource leak in _subprocess.CreateProcess when using
 explicit environments
 
Modified: python/trunk/PC/_subprocess.c
==============================================================================
--- python/trunk/PC/_subprocess.c	(original)
+++ python/trunk/PC/_subprocess.c	Sat Nov 12 11:15:03 2005
@@ -333,6 +333,9 @@
 
 	/* PyObject_Print(out, stdout, 0); */
 
+	Py_XDECREF(keys);
+	Py_XDECREF(values);
+
 	return out;
 
 error:


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /