https://github.com/python/cpython/commit/12417a984c59fcec246b060576b46e31f9a7d926
commit: 12417a984c59fcec246b060576b46e31f9a7d926
branch: main
author: Bénédikt Tran <[email protected]>
committer: vstinner <[email protected]>
date: 2024-09-29T15:02:43Z
summary:
gh-123290: Fix decref in _curses update_lines_cols() (#124767)
files:
M Modules/_cursesmodule.c
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c
index c9ee5687c2b5d9..631fc23dcdb121 100644
--- a/Modules/_cursesmodule.c
+++ b/Modules/_cursesmodule.c
@@ -4036,7 +4036,7 @@ update_lines_cols(PyObject *private_module)
error:
Py_XDECREF(o);
- Py_DECREF(exposed_module);
+ Py_XDECREF(exposed_module);
return 0;
}
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]