From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 3 Mar 2020 18:01:09 +0000 (-0800) Subject: bpo-39831: Remove outdated comment. (GH-18764) X-Git-Tag: v3.8.3rc1~137 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=57fb29219f09ee705065e39ad488334a9c7e3d71;p=thirdparty%2FPython%2Fcpython.git bpo-39831: Remove outdated comment. (GH-18764) (cherry picked from commit ae75a294352e9b9487f5dc8e88f068e7e6974dc2) Co-authored-by: Serhiy Storchaka --- diff --git a/Python/_warnings.c b/Python/_warnings.c index 87269dd4dbc9..52a13dfc62cc 100644 --- a/Python/_warnings.c +++ b/Python/_warnings.c @@ -886,11 +886,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; }