]> xenbits.xensource.com Git - libvirt.git/commit
tests: Don't call virNetServerClientClose without valid client
authorJohn Ferlan <jferlan@redhat.com>
Mon, 2 Apr 2018 11:19:38 +0000 (07:19 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 19 Apr 2018 18:24:32 +0000 (14:24 -0400)
commit6df5d7772330b20ea81f9f989afe3dc789b9ca31
tree309a1ab7a585fe8cd3091725f47940d2dd0851d2
parent713342e9531581183dbf85fffcca4fea1ff80d02
tests: Don't call virNetServerClientClose without valid client

If @client hasn't been opened, then don't call virNetServerClientClose
since that'll cause certain failure.

Found by Coverity

Signed-off-by: John Ferlan <jferlan@redhat.com>
tests/virnetserverclienttest.c