tapv2: coverity woe 90/16590/2
authorSteven <sluong@cisco.com>
Fri, 21 Dec 2018 20:42:34 +0000 (12:42 -0800)
committerDamjan 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