Skip to content

Commit bf7a7fc

Browse files
committed
gh-129345: null check for indent syslogmodule
1 parent 7ec1742 commit bf7a7fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/syslogmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ syslog_openlog_impl(PyObject *module, PyObject *ident, long logopt,
176176
}
177177
}
178178
if (PySys_Audit("syslog.openlog", "Oll", ident ? ident : Py_None, logopt, facility) < 0) {
179-
Py_DECREF(ident);
179+
Py_XDECREF(ident);
180180
return NULL;
181181
}
182182

0 commit comments

Comments
 (0)