summaryrefslogtreecommitdiffstats
path: root/extras/libmemif/src
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2019-02-21 14:55:52 -0800
committerFlorin Coras <florin.coras@gmail.com>2019-02-22 01:25:49 +0000
commit4a310d2b50283d5553264caf50ac1aa58384468d (patch)
treef6793a8dbe742c62005ca79955dd131d1f539ce3 /extras/libmemif/src
parent296988d358cd570247dd8b9b8bd5816a856c3d30 (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 'extras/libmemif/src')
0 files changed, 0 insertions, 0 deletions