[Python-checkins] r61089 - python/trunk/Modules/itertoolsmodule.c
raymond.hettinger
python-checkins at python.org
Wed Feb 27 02:08:04 CET 2008
Author: raymond.hettinger
Date: Wed Feb 27 02:08:04 2008
New Revision: 61089
Modified:
python/trunk/Modules/itertoolsmodule.c
Log:
One too many decrefs.
Modified: python/trunk/Modules/itertoolsmodule.c
==============================================================================
--- python/trunk/Modules/itertoolsmodule.c (original)
+++ python/trunk/Modules/itertoolsmodule.c Wed Feb 27 02:08:04 2008
@@ -1794,10 +1794,8 @@
/* create productobject structure */
lz = (productobject *)type->tp_alloc(type, 0);
- if (lz == NULL) {
- Py_DECREF(pools);
+ if (lz == NULL)
goto error;
- }
lz->pools = pools;
lz->maxvec = maxvec;
More information about the Python-checkins
mailing list