coverity#982759 Dereference null return value

Change-Id: I72209c52d6a8d036f0903f39b91fc62a2880448b
This commit is contained in:
Caolán McNamara 2014-05-26 15:00:11 +01:00
parent 5bdc28028c
commit e17245c0c2

View File

@ -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 )
{
// 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];
u[0] = val;