coverity#982756 Dereference null return value
Change-Id: Ia29c6167df0ce061fae88d81bef9a98ca37fcce3
This commit is contained in:
@@ -524,7 +524,7 @@ PyRef Runtime::any2PyObject (const Any &a ) const
|
|||||||
Reference< XTypeConverter > tc = getImpl()->cargo->xTypeConverter;
|
Reference< XTypeConverter > tc = getImpl()->cargo->xTypeConverter;
|
||||||
Reference< XSingleServiceFactory > ssf = getImpl()->cargo->xInvocation;
|
Reference< XSingleServiceFactory > ssf = getImpl()->cargo->xInvocation;
|
||||||
tc->convertTo (a, ::getCppuType (&s)) >>= s;
|
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;
|
int i=0;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user