coverity#982756 Dereference null return value
Change-Id: Ia29c6167df0ce061fae88d81bef9a98ca37fcce3
This commit is contained in:
parent
229abf40ac
commit
b75b626ee5
@ -524,7 +524,7 @@ PyRef Runtime::any2PyObject (const Any &a ) const
|
||||
Reference< XTypeConverter > tc = getImpl()->cargo->xTypeConverter;
|
||||
Reference< XSingleServiceFactory > ssf = getImpl()->cargo->xInvocation;
|
||||
tc->convertTo (a, ::getCppuType (&s)) >>= s;
|
||||
PyRef tuple( PyTuple_New (s.getLength()), SAL_NO_ACQUIRE);
|
||||
PyRef tuple( PyTuple_New (s.getLength()), SAL_NO_ACQUIRE, NOT_NULL);
|
||||
int i=0;
|
||||
try
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user