diff options
-rw-r--r-- | pyuno/source/module/pyuno_callable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_callable.cxx b/pyuno/source/module/pyuno_callable.cxx index f91aa751c168..22b8cd1fd6ca 100644 --- a/pyuno/source/module/pyuno_callable.cxx +++ b/pyuno/source/module/pyuno_callable.cxx @@ -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 |