diff options
author | Steven Luong <sluong@cisco.com> | 2019-02-21 14:55:52 -0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-02-22 01:25:49 +0000 |
commit | 4a310d2b50283d5553264caf50ac1aa58384468d (patch) | |
tree | f6793a8dbe742c62005ca79955dd131d1f539ce3 /src/vnet/interface_funcs.h | |
parent | 296988d358cd570247dd8b9b8bd5816a856c3d30 (diff) |
tapv2: coverity strikes back
while https://gerrit.fd.io/r/#/c/16590/ fixed the leaked fd which coverity
reported at that time, new coverity run reports simailar leaked fd in a
different goto punt path. It would be nice if coverity reported both of them
at the same time. Or perhaps it did and I just missed it. Anyway, the new fix
is to put the close (fd) statement prior to the return of tap_create_if routine
which should catch all goto's.
Change-Id: I0a51ed3710e32d5d74c9cd9b5066a667153e2f9d
Signed-off-by: Steven Luong <sluong@cisco.com>
Diffstat (limited to 'src/vnet/interface_funcs.h')
0 files changed, 0 insertions, 0 deletions