diff --git a/tests/commandtest.c b/tests/commandtest.c index 08e9e21fc6..7ff4d5fc59 100644 --- a/tests/commandtest.c +++ b/tests/commandtest.c @@ -215,6 +215,7 @@ static int test3(const void *unused ATTRIBUTE_UNUSED) cleanup: virCommandFree(cmd); + /* coverity[double_close] */ VIR_FORCE_CLOSE(newfd1); VIR_FORCE_CLOSE(newfd2); return ret;