Kaydet (Commit) b75b626e authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#982756 Dereference null return value

Change-Id: Ia29c6167df0ce061fae88d81bef9a98ca37fcce3
üst 229abf40
...@@ -524,7 +524,7 @@ PyRef Runtime::any2PyObject (const Any &a ) const ...@@ -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
{ {
......
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