Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
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
Merge branch 'main' into clinic-syslog
  • Loading branch information
noamcohen97 committed Jul 26, 2022
commit 1aa615dcf00b8a5585a369b4a33d184e27009788
5 changes: 4 additions & 1 deletion Modules/syslogmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,10 @@ syslog_syslog_impl(PyObject *module, int group_left_1, int priority,
/* if log is not opened, open it now */
if (!S_log_open) {
PyObject *openlog_ret = syslog_openlog_impl(module, NULL, 0, LOG_USER);
Py_XDECREF(openlog_ret);
if (openlog_ret == NULL) {
return NULL;
}
Py_DECREF(openlog_ret);
}

/* Incref ident, because it can be decrefed if syslog.openlog() is
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.