Kaydet (Commit) 3b548d55 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Fridrich Štrba

coverity#982758 Dereference null return value

Change-Id: Ia797bbd9c5587d2b55dd183a377e5b3dded96e7b
üst 68bb515e
......@@ -254,7 +254,7 @@ static PyObject* callCtor( const Runtime &r , const char * clazz, const PyRef &
PyObject *PyUNO_Enum_new( const char *enumBase, const char *enumValue, const Runtime &r )
{
PyRef args( PyTuple_New( 2 ), SAL_NO_ACQUIRE );
PyRef args( PyTuple_New( 2 ), SAL_NO_ACQUIRE, NOT_NULL );
PyTuple_SetItem( args.get() , 0 , PyStr_FromString( enumBase ) );
PyTuple_SetItem( args.get() , 1 , PyStr_FromString( enumValue ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment