network: Add coverity[leaked_handle] to ignore error

On error, the 'tapfd' in networkStartNetworkVirtual() is synonymous
with 'macTapIfName' and will be closed in the appropriate error path.
This commit is contained in:
John Ferlan 2013-01-22 09:41:03 -05:00 committed by Michal Privoznik
parent 9cc0f8d503
commit 011d40059d

View File

@ -2530,6 +2530,7 @@ networkStartNetworkVirtual(struct network_driver *driver,
virSetError(save_err); virSetError(save_err);
virFreeError(save_err); virFreeError(save_err);
} }
/* coverity[leaked_handle] - 'tapfd' is not leaked */
return -1; return -1;
} }