[PATCH] coverity#705137 Missing break in switch

Julien Nabet (via Code Review) gerrit at gerrit.libreoffice.org
Sat Mar 16 23:24:19 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2780

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/80/2780/1

coverity#705137 Missing break in switch

Change-Id: Ie54c888e15e9564c7e1d0efb54f587a586a53631
---
M cppu/source/typelib/typelib.cxx
1 file changed, 1 insertion(+), 0 deletions(-)



diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx
index 445f824..40e5943 100644
--- a/cppu/source/typelib/typelib.cxx
+++ b/cppu/source/typelib/typelib.cxx
@@ -1480,6 +1480,7 @@
     case typelib_TypeClass_STRUCT:
         delete[] reinterpret_cast< typelib_StructTypeDescription * >(pTD)->
             pParameterizedTypes;
+        break;
     case typelib_TypeClass_EXCEPTION:
     {
         typelib_CompoundTypeDescription * pCTD = (typelib_CompoundTypeDescription*)pTD;

-- 
To view, visit https://gerrit.libreoffice.org/2780
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie54c888e15e9564c7e1d0efb54f587a586a53631
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Julien Nabet <serval2412 at yahoo.fr>



More information about the LibreOffice mailing list