Fix "Resource leak" issues reported by static analysis in Stx-ha
Brief Description
-----------------
After triaging the scan report by Coverity for C/C++ static code analysis, we found that there are high impact issues which need a fix. This meta bug will cover the resource leak" category in c/c++ code in Stx-ha.
Severity
--------
Provide the severity of the defect.
Major
Steps to Reproduce
------------------
Coverity tool
Title
-----
Fix "Resource leak" issues reported by static analysis in Stx-ha
Brief Description
-----------------
After triaging the scan report by Coverity for C/C++ static code analysis, we found that there are high impact issues which need a fix. This meta bug will cover the resource leak" category in c/c++ code in Stx-ha.
Severity
--------
Provide the severity of the defect.
Major
Steps to Reproduce
------------------
Coverity tool