diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-26 15:03:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-26 15:51:58 +0100 |
commit | f556b1b614eb54159a58201c1b266b120050ed5a (patch) | |
tree | 3719918e70ce81f1f73a669c25b6769fed4422bd /pyuno | |
parent | 6342a9c49e437405dd11d3966b8a1b3483b7fe69 (diff) |
coverity#982752 Dereference null return value
Change-Id: I394a13939d67b6959903e277dd78ea05cdcadfa8
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/module/pyuno_adapter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_adapter.cxx b/pyuno/source/module/pyuno_adapter.cxx index 30b89ffb533a..d239119fbfe0 100644 --- a/pyuno/source/module/pyuno_adapter.cxx +++ b/pyuno/source/module/pyuno_adapter.cxx @@ -206,7 +206,7 @@ Any Adapter::invoke( const OUString &aFunctionName, } sal_Int32 size = aParams.getLength(); - PyRef argsTuple(PyTuple_New( size ), SAL_NO_ACQUIRE ); + PyRef argsTuple(PyTuple_New( size ), SAL_NO_ACQUIRE, NOT_NULL ); int i; // fill tuple with default values in case of exceptions for( i = 0 ;i < size ; i ++ ) |