mirror of https://github.com/Icinga/icinga2.git
Python: Add missing NULL sentinel in PyObject_CallFunctionObjArgs() call.
This commit is contained in:
parent
7cb67afaae
commit
efb62f4b5c
|
@ -220,7 +220,7 @@ String PythonLanguage::ExceptionInfoToString(PyObject *type, PyObject *exc, PyOb
|
|||
if (!PyCallable_Check(format_exception))
|
||||
return "Failed to format exception information.";
|
||||
|
||||
PyObject *result = PyObject_CallFunctionObjArgs(format_exception, type, exc, tb);
|
||||
PyObject *result = PyObject_CallFunctionObjArgs(format_exception, type, exc, tb, NULL);
|
||||
|
||||
Py_DECREF(format_exception);
|
||||
Py_DECREF(tb_dict);
|
||||
|
|
Loading…
Reference in New Issue