8000 Fix missing/incomplete NULL checks in multiple source files by chgnrdv · Pull Request #104564 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Fix missing/incomplete NULL checks in multiple source files #104564

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
May 23, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
reverted _curses change
  • Loading branch information
chgnrdv committed May 22, 2023
commit 7ae74e6e2357e7993ea5335469eec31f07f83ec5
3 changes: 0 additions & 3 deletions Modules/_cursesmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -3349,9 +3349,6 @@ _curses_initscr_impl(PyObject *module)
SetDictInt("COLS", COLS);

winobj = (PyCursesWindowObject *)PyCursesWindow_New(win, NULL);
if (winobj == NULL) {
return NULL;
}
screen_encoding = winobj->encoding;
return (PyObject *)winobj;
}
Expand Down
0