commit | ae75a294352e9b9487f5dc8e88f068e7e6974dc2 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Tue Mar 03 19:43:29 2020 +0200 |
committer | GitHub <noreply@github.com> | Tue Mar 03 19:43:29 2020 +0200 |
tree | 62236c148db6761d1ef18a50a22d05258e160bf0 | |
parent | 91fe4142642286b65c166f7b6e27de16f42b1286 [diff] |
bpo-39831: Remove outdated comment. (GH-18764)
diff --git a/Python/_warnings.c b/Python/_warnings.c index 92378fa..39f8033 100644 --- a/Python/_warnings.c +++ b/Python/_warnings.c
@@ -889,11 +889,9 @@ 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; }