diff options
author | Michael Tokarev <mjt@tls.msk.ru> | 2014-10-30 10:53:02 +0300 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-11-02 10:04:34 +0300 |
commit | 660edd4eda903e32811a4929d1434cceda3284aa (patch) | |
tree | 2e41807b5728b7870ed3e4b4f0fef31696d8585f /tests/virtio-console-test.c | |
parent | 8ef2b256b94696a3a4bd8aa69a2b0fd7bc246f07 (diff) | |
download | qemu-660edd4eda903e32811a4929d1434cceda3284aa.zip qemu-660edd4eda903e32811a4929d1434cceda3284aa.tar.gz qemu-660edd4eda903e32811a4929d1434cceda3284aa.tar.bz2 |
virtio-9p-proxy: Fix sockfd leak
If connect() in connect_namedsocket() return false, the sockfd will leak.
Plug it.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Diffstat (limited to 'tests/virtio-console-test.c')
0 files changed, 0 insertions, 0 deletions