coverity#982759 Dereference null return value
Change-Id: I72209c52d6a8d036f0903f39b91fc62a2880448b
This commit is contained in:
parent
5bdc28028c
commit
e17245c0c2
@ -279,7 +279,7 @@ PyObject* PyUNO_Type_new (const char *typeName , TypeClass t , const Runtime &r
|
|||||||
PyObject* PyUNO_char_new ( sal_Unicode val , const Runtime &r )
|
PyObject* PyUNO_char_new ( sal_Unicode val , const Runtime &r )
|
||||||
{
|
{
|
||||||
// retrieve type object
|
// retrieve type object
|
||||||
PyRef args( PyTuple_New( 1 ), SAL_NO_ACQUIRE );
|
PyRef args( PyTuple_New( 1 ), SAL_NO_ACQUIRE, NOT_NULL );
|
||||||
|
|
||||||
Py_UNICODE u[2];
|
Py_UNICODE u[2];
|
||||||
u[0] = val;
|
u[0] = val;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user