Kaydet (Commit) 86598a4e authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#982753 Dereference null return value

Change-Id: I011a600a27c801dca32734e680ea5a13dfebdfe3
üst 2ca70c3b
......@@ -115,7 +115,7 @@ PyObject* PyUNO_callable_call(
PyRef temp = runtime.any2PyObject (ret_value);
if( aOutParam.getLength() )
{
PyRef return_list( PyTuple_New (1+aOutParam.getLength()), SAL_NO_ACQUIRE );
PyRef return_list( PyTuple_New (1+aOutParam.getLength()), SAL_NO_ACQUIRE, NOT_NULL );
PyTuple_SetItem (return_list.get(), 0, temp.getAcquired());
// initialize with defaults in case of exceptions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment