High: Resolve coverity RESOURCE_LEAK defects
Mercurial revision: d749ab72afd7160906c4b7b90abe5e6b08dfb00e