commit aa665df4199e4f3486357d3a5db5b6eefd375098
Author: Anda Nicolae <email address hidden>
Date: Fri May 11 12:32:21 2018 +0300
Coverity reports memory leak in contrail-common/http_curl.cc
I have run Coverity on branch R5.0 and it reported the following
memory leak in contrail-common/http_curl.cc:
- leaked_storage: Variable conn going out of scope leaks the storage
it points to in http_curl.cc:new_conn()
Indeed, conn should be freed if the following condition is matched:
if ( !conn->easy ) {
Change-Id: Idf4985d7806897c0f8eb7e725e19259a4adfa809
Closes-Bug: #1770601
Signed-off-by: Anda Nicolae <email address hidden>
Reviewed: https:/ /review. opencontrail. org/42976 github. com/Juniper/ contrail- common/ commit/ aa665df4199e4f3 486357d3a5db5b6 eefd375098
Committed: http://
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0
commit aa665df4199e4f3 486357d3a5db5b6 eefd375098
Author: Anda Nicolae <email address hidden>
Date: Fri May 11 12:32:21 2018 +0300
Coverity reports memory leak in contrail- common/ http_curl. cc
I have run Coverity on branch R5.0 and it reported the following common/ http_curl. cc:
memory leak in contrail-
- leaked_storage: Variable conn going out of scope leaks the storage cc:new_ conn()
it points to in http_curl.
Indeed, conn should be freed if the following condition is matched:
if ( !conn->easy ) {
Change-Id: Idf4985d7806897 c0f8eb7e725e192 59a4adfa809
Closes-Bug: #1770601
Signed-off-by: Anda Nicolae <email address hidden>