From: Serhiy Storchaka Date: Tue, 3 Mar 2020 17:43:29 +0000 (+0200) Subject: bpo-39831: Remove outdated comment. (GH-18764) X-Git-Tag: v3.9.0a5~187 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ae75a294352e9b9487f5dc8e88f068e7e6974dc2;p=thirdparty%2FPython%2Fcpython.git bpo-39831: Remove outdated comment. (GH-18764) --- diff --git a/Python/_warnings.c b/Python/_warnings.c index 92378faa61f3..39f8033cd906 100644 --- a/Python/_warnings.c +++ b/Python/_warnings.c @@ -889,11 +889,9 @@ setup_context(Py_ssize_t stack_level, PyObject **filename, int *lineno, return 1; handle_error: - /* filename not XDECREF'ed here as there is no way to jump here with a - dangling reference. */ Py_XDECREF(*registry); Py_XDECREF(*module); - Py_XDECREF(*filename); + Py_DECREF(*filename); return 0; }