]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virnetsocket: use new API for uniform child cleanup
authorEric Blake <eblake@redhat.com>
Tue, 12 Jul 2011 18:09:43 +0000 (12:09 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 14 Jul 2011 18:02:25 +0000 (12:02 -0600)
commita59a99f218e7d4bfd343f2cde34df544b56e7212
treea1a1a3f16f6bfa57c2f21cf36a18b9117f4822fb
parent3cbf5d5f76845bc094ee648770d8a8ce3731d6a3
virnetsocket: use new API for uniform child cleanup

Rather than trying to clean up the ssh child ourselves, and risk
subtle differences from the socket creation error path, we can
just use the new APIs.

* src/rpc/virnetsocket.c (virNetSocketFree): Use new function.
src/rpc/virnetsocket.c