commit 09f32f489babad3e90742d632f02b4ff9e46b22b
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/43024 github. com/Juniper/ contrail- common/ commit/ 09f32f489babad3 e90742d632f02b4 ff9e46b22b
Committed: http://
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master
commit 09f32f489babad3 e90742d632f02b4 ff9e46b22b
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>