tests: test-qga: close socket on failure to connect
commit5dc51100394206b4ca3fdcafb008de8f99fc4676
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 5 Sep 2022 11:01:27 +0000 (5 13:01 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 18 Sep 2022 07:17:41 +0000 (18 09:17 +0200)
treeb9f9a3971af534e823e3847931c070b5d710a492
parentac9e723fb6baaf9d9afa31f81c57f38ef7610616
tests: test-qga: close socket on failure to connect

Reported by Coverity as CID 1432543.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/unit/test-qga.c