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

coverity#982757 Dereference null return value

Change-Id: Ie2c88a778bb25e6909138e633fe115686e2cc026
üst 3b548d55
......@@ -900,7 +900,7 @@ Any Runtime::extractUnoException( const PyRef & excType, const PyRef &excValue,
if( PyCallable_Check(extractTraceback.get()) )
{
PyRef args( PyTuple_New( 1), SAL_NO_ACQUIRE );
PyRef args( PyTuple_New( 1), SAL_NO_ACQUIRE, NOT_NULL );
PyTuple_SetItem( args.get(), 0, excTraceback.getAcquired() );
PyRef pyStr( PyObject_CallObject( extractTraceback.get(),args.get() ), SAL_NO_ACQUIRE);
str = OUString::createFromAscii( PyStr_AsString(pyStr.get()) );
......
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