From 2281da42b0e8ddb8f833307311f2782eeb56b775 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Wed, 18 Jun 2008 00:56:57 +0000 Subject: [PATCH] Fix double decref. --- Modules/mathmodule.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index 1066702f1a..e0da0114cf 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; } -- 2.50.0