diff options
author | Steven <sluong@cisco.com> | 2018-12-21 12:42:34 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-12-22 11:50:40 +0000 |
commit | 27ca2982e1ac5c6f6a980f40c0906f8d8fb857ef (patch) | |
tree | 9f06912ceca9a5911f2bb8196988f20c963aede4 /src/vppinfra/ptclosure.h | |
parent | b9894ee69f6ba9c6a8eeb531d528e656b2a07812 (diff) |
tapv2: coverity woe
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>
Diffstat (limited to 'src/vppinfra/ptclosure.h')
0 files changed, 0 insertions, 0 deletions