mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user