cppu/source/typelib/typelib.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit df9efbd53d148c713f7d5c391ac06d873b9b4cc1
Author: Caolán McNamara <[email protected]>
Date:   Sat Nov 15 15:34:51 2014 +0000

    coverity#440589 silence Write to pointer after free
    
    Change-Id: I85bb3b8cb0ba25e5ebd0a0fff84bda51792cc743
    Signed-off-by: Stephan Bergmann <[email protected]>

diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx
index 392f012..9ab878c 100644
--- a/cppu/source/typelib/typelib.cxx
+++ b/cppu/source/typelib/typelib.cxx
@@ -1557,6 +1557,7 @@ extern "C" CPPU_DLLPUBLIC void SAL_CALL 
typelib_typedescription_register(
                 {
                     // switch from !OnDemand to OnDemand, so the description 
must be relesed
                     assert(pTDR->pType->nRefCount > 1);
+                    // coverity[freed_arg] - pType's nRefCount is > 1 here
                     typelib_typedescription_release( pTDR->pType );
                 }
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to