From f556b1b614eb54159a58201c1b266b120050ed5a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 26 May 2014 15:03:26 +0100 Subject: coverity#982752 Dereference null return value Change-Id: I394a13939d67b6959903e277dd78ea05cdcadfa8 --- pyuno/source/module/pyuno_adapter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyuno') 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 ++ ) -- cgit