qemu-e2k/contrib/plugins
Alex Chen 9cd7dde073 plugins: Fix two resource leaks in setup_socket()
Either accept() fails or exits normally, we need to close the fd.

Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Alex Chen <alex.chen@huawei.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20201109082829.87496-3-alex.chen@huawei.com>
Message-Id: <20201110192316.26397-3-alex.bennee@linaro.org>
2020-11-16 11:07:37 +00:00
..
Makefile plugins: move the more involved plugins to contrib 2020-09-10 10:47:03 +01:00
hotblocks.c plugin: Fixes compiling errors on msys2/mingw 2020-10-09 17:27:55 +01:00
hotpages.c plugins: move the more involved plugins to contrib 2020-09-10 10:47:03 +01:00
howvec.c plugins: move the more involved plugins to contrib 2020-09-10 10:47:03 +01:00
lockstep.c plugins: Fix two resource leaks in setup_socket() 2020-11-16 11:07:37 +00:00