]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
tiny backport from 2.4, fix a leak in _testcapi
authorAlex Martelli <aleaxit@gmail.com>
Mon, 7 Feb 2005 12:04:22 +0000 (12:04 +0000)
committerAlex Martelli <aleaxit@gmail.com>
Mon, 7 Feb 2005 12:04:22 +0000 (12:04 +0000)
Modules/_testcapimodule.c

index 5e8f7ad0acfcb48e4292b6a41afd0c80905b423c..fab456af46ca4bd24101a426bf98408a01438b26 100644 (file)
@@ -544,6 +544,7 @@ raise_exception(PyObject *self, PyObject *args)
                PyTuple_SET_ITEM(exc_args, i, v);
        }
        PyErr_SetObject(exc, exc_args);
+       Py_DECREF(exc_args);
        return NULL;
 }