On error, the 'tapfd' in networkStartNetworkVirtual() is synonymous
with 'macTapIfName' and will be closed in the appropriate error path.
---
src/network/bridge_driver.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
index 268dada..21255f0 100644
--- a/src/network/bridge_driver.c
+++ b/src/network/bridge_driver.c
@@ -2530,6 +2530,7 @@ networkStartNetworkVirtual(struct network_driver *driver,
virSetError(save_err);
virFreeError(save_err);
}
+ /* coverity[leaked_handle] - 'tapfd' is not leaked */
return -1;
}
--
1.7.11.7