diff options
author | Klement Sekera <ksekera@cisco.com> | 2021-10-26 16:19:45 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-10-27 20:19:39 +0000 |
commit | c3225ddf8a3db9ee0f0d6edb7d82717d8cf20b36 (patch) | |
tree | 695ae2f9608b45ee96aabb7e92f89a8b4859761b /src/vlibapi | |
parent | e2f3aa16e27857929c1a8fbd921426a51ecb5538 (diff) |
devices: fix coverity warning/don't leak fd
Move socket creation past code which returns from function to avoid
leaking the socket in case of an early error return.
Type: fix
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Change-Id: I9e18bd32022441c17ca920d1c2458b058b76c3c0
Diffstat (limited to 'src/vlibapi')
0 files changed, 0 insertions, 0 deletions