summaryrefslogtreecommitdiffstats
path: root/Modules/mathmodule.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-06-18 00:56:57 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-06-18 00:56:57 (GMT)
commit2281da42b0e8ddb8f833307311f2782eeb56b775 (patch)
tree2a0b177d0599c7daef874e0d6eda92936638c354 /Modules/mathmodule.c
parent09fc075c1cf74a9c968f7cf453facdc120be2f41 (diff)
downloadcpython-2281da42b0e8ddb8f833307311f2782eeb56b775.zip
cpython-2281da42b0e8ddb8f833307311f2782eeb56b775.tar.gz
cpython-2281da42b0e8ddb8f833307311f2782eeb56b775.tar.bz2
Fix double decref.
Diffstat (limited to 'Modules/mathmodule.c')
-rw-r--r--Modules/mathmodule.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
index 1066702..e0da011 100644
--- a/Modules/mathmodule.c
+++ b/Modules/mathmodule.c
@@ -559,7 +559,6 @@ math_factorial(PyObject *self, PyObject *arg)
error:
Py_DECREF(result);
- Py_XDECREF(iobj);
return NULL;
}