Skip to content

Commit 12417a9

Browse files
authored
pythongh-123290: Fix decref in _curses update_lines_cols() (python#124767)
1 parent 95581b3 commit 12417a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_cursesmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4036,7 +4036,7 @@ update_lines_cols(PyObject *private_module)
40364036

40374037
error:
40384038
Py_XDECREF(o);
4039-
Py_DECREF(exposed_module);
4039+
Py_XDECREF(exposed_module);
40404040
return 0;
40414041
}
40424042

0 commit comments

Comments
 (0)