diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-03 17:07:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-03 20:10:17 +0100 |
commit | b75b626ee52b7dec91f48271aa58d66b27604e51 (patch) | |
tree | b7e03fcd17658790ba0cfb406d100d5db6f3e06e /pyuno/source | |
parent | 229abf40ac4ee551063cdefabede3c9b31146e07 (diff) |
coverity#982756 Dereference null return value
Change-Id: Ia29c6167df0ce061fae88d81bef9a98ca37fcce3
Diffstat (limited to 'pyuno/source')
-rw-r--r-- | pyuno/source/module/pyuno_runtime.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx index 5ef20df459ff..a4b81fca248c 100644 --- a/pyuno/source/module/pyuno_runtime.cxx +++ b/pyuno/source/module/pyuno_runtime.cxx @@ -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 { |