]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix double decref.
authorRaymond Hettinger <python@rcn.com>
Wed, 18 Jun 2008 00:56:57 +0000 (00:56 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 18 Jun 2008 00:56:57 +0000 (00:56 +0000)
Modules/mathmodule.c

index 1066702f1a9e5ebf5cdf833ee0d8b1aa60dc6b53..e0da0114cfad2f0703229145237d3fbadc64b793 100644 (file)
@@ -559,7 +559,6 @@ math_factorial(PyObject *self, PyObject *arg)
 
 error:
        Py_DECREF(result);
-       Py_XDECREF(iobj);
        return NULL;
 }