bpo-39831: Remove outdated comment. (GH-18764)

(cherry picked from commit ae75a294352e9b9487f5dc8e88f068e7e6974dc2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
diff --git a/Python/_warnings.c b/Python/_warnings.c
index 87269dd..52a13df 100644
--- a/Python/_warnings.c
+++ b/Python/_warnings.c
@@ -886,11 +886,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;
 }