diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-12-24 23:47:11 +0000 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-01-06 15:07:14 +0000 |
commit | a46667ea29218565473e430ceae62e2838f6ce3f (patch) | |
tree | 5bb29acbe34491cd2272608d97950cb73ecbb67d /net/tap.h | |
parent | bb16172c52ac18742f3df156912c169904e92147 (diff) | |
download | qemu-a46667ea29218565473e430ceae62e2838f6ce3f.zip qemu-a46667ea29218565473e430ceae62e2838f6ce3f.tar.gz qemu-a46667ea29218565473e430ceae62e2838f6ce3f.tar.bz2 |
net/socket.c: Fix fd leak in net_socket_listen_init() error paths
Fix a leak of a file descriptor due to missing closesocket() calls
in error paths in net_socket_listen_init().
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'net/tap.h')
0 files changed, 0 insertions, 0 deletions