]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ole/automtn.cpp
fix memory leak (coverity checker CID 53)
[wxWidgets.git] / src / msw / ole / automtn.cpp
index 1bccfebca1507943f8dc4471618bc59394adfe77..6096c4cf78abc696a30c222901912a27691cd5fc 100644 (file)
@@ -851,9 +851,11 @@ static void ReleaseVariant(VARIANTARG *pvarg)
                 break;
 
             case VT_I2:
+            case VT_I4:
             case VT_BOOL:
             case VT_R8:
             case VT_ERROR:        // to avoid erroring on an error return from Excel
+            case VT_EMPTY:
                 // no work for these types
                 break;