issue: 426119 Fix C coverity DELETE_ARRAY issue in Context.cc

Change-Id: I5da1793f6e8aa9bd4fd4cd80d92c5fc15ba1b2e7
issue: 426121 Fix C coverity RESOURCE_LEAK issue in Bridge.cc

Change-Id: I2b2c7da8adcd1ce2ded7befa394161d27ab0d66f