[Python-checkins] r50576 - python/trunk/Python/mactoolboxglue.c

thomas.heller python-checkins at python.org
Tue Jul 11 18:44:25 CEST 2006


Author: thomas.heller
Date: Tue Jul 11 18:44:25 2006
New Revision: 50576

Modified:
   python/trunk/Python/mactoolboxglue.c
Log:
Add missing Py_DECREFs.

Modified: python/trunk/Python/mactoolboxglue.c
==============================================================================
--- python/trunk/Python/mactoolboxglue.c	(original)
+++ python/trunk/Python/mactoolboxglue.c	Tue Jul 11 18:44:25 2006
@@ -60,8 +60,9 @@
 			strncpy(buf, input, sizeof(buf) - 1);
 			buf[sizeof(buf) - 1] = '\0';
 		}
+		Py_DECREF(rv);
 	}
-	
+	Py_XDECREF(m);
 	return buf;
 }
 


More information about the Python-checkins mailing list