diff options
-rw-r--r-- | bridges/source/jni_uno/jni_helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bridges/source/jni_uno/jni_helper.h b/bridges/source/jni_uno/jni_helper.h index 4cc145b26435..6e82e12f4081 100644 --- a/bridges/source/jni_uno/jni_helper.h +++ b/bridges/source/jni_uno/jni_helper.h @@ -49,6 +49,7 @@ inline void jstring_to_ustring( ustr->refCount = 1; ustr->length = len; ustr->buffer[ len ] = '\0'; + // coverity[leaked_storage : FALSE] - transfer ownership to *out_ustr mem.release(); if (nullptr != *out_ustr) rtl_uString_release( *out_ustr ); |