Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from:
27ca298
)
tapv2: coverity woe
90/16590/2
author
Steven
<sluong@cisco.com>
Fri, 21 Dec 2018 20:42:34 +0000
(12:42 -0800)
committer
Damjan Marion
<dmarion@me.com>
Sat, 22 Dec 2018 11:50:40 +0000
(11:50 +0000)
coverity complains about fd leaking inside the if statement because there is
a goto which bypasses the statement close (fd).
The fix is to close (fd) immediately after it is no longer used.
Change-Id: Ic5035b07ec1f179ff3db77744843e47aa8067a3c
Signed-off-by: Steven <sluong@cisco.com>
No differences found