Coverity issues in contrail-java-api/ApiConnectorMock.java
Bug #1777113 reported by
Anda-Maria Nicolae
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R5.0 |
In Progress
|
Medium
|
Anda-Maria Nicolae | |||
Trunk |
In Progress
|
Medium
|
Anda-Maria Nicolae | |||
OpenContrail |
New
|
Undecided
|
Unassigned |
Bug Description
Hi all,
I have run Coverity on branch R5.0 and it reported the following issue in contrail-
leaked_resource: Variable ois going out of scope leaks the resource it refers to.
Solution is to add a finally() code block and call ois.close().
Thanks,
Anda
tags: | added: analytics |
tags: |
added: config removed: analytics |
To post a comment you must log in.
Review in progress for https:/ /review. opencontrail. org/43883
Submitter: Anda Nicolae (<email address hidden>)