diff options
-rw-r--r-- | cppu/source/typelib/typelib.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx index 7f3e808ebda4..392f012a3cce 100644 --- a/cppu/source/typelib/typelib.cxx +++ b/cppu/source/typelib/typelib.cxx @@ -1556,6 +1556,7 @@ extern "C" CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_register( else if( !pTDR->pType->bOnDemand && (*ppNewDescription)->bOnDemand ) { // switch from !OnDemand to OnDemand, so the description must be relesed + assert(pTDR->pType->nRefCount > 1); typelib_typedescription_release( pTDR->pType ); } |