mirror_qemu/contrib
Cong Liu 7f45276269 contrib/plugins: Close file descriptor on error return
This patch closes the file descriptor fd on error return to avoid
resource leak.

Fixes: ec7ee95db9 ("contrib/plugins: fix coverity warning in lockstep")
Signed-off-by: Cong Liu <liucong2@kylinos.cn>
Message-Id: <20231018025225.1640122-1-liucong2@kylinos.cn>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231029145033.592566-20-alex.bennee@linaro.org>
2023-10-31 14:10:21 +00:00
..
elf2dmp contrib/elf2dmp: Use g_malloc(), g_new() and g_free() 2023-10-19 14:32:13 +01:00
gitdm contrib/gitdm: add group map for AMD 2023-03-22 15:08:26 +00:00
ivshmem-client meson: build contrib/ executables after generated headers 2022-01-12 14:09:06 +01:00
ivshmem-server cutils: Adjust signature of parse_uint[_full] 2023-06-02 12:27:19 -05:00
plugins contrib/plugins: Close file descriptor on error return 2023-10-31 14:10:21 +00:00
rdmacm-mux meson, configure: move RDMA options to meson 2022-04-28 08:52:20 +02:00
systemd contrib: add systemd unit files 2017-12-20 22:29:26 +01:00
vhost-user-blk vhost-user: fully use new backend/frontend naming 2023-06-26 09:50:00 -04:00
vhost-user-gpu contrib/vhost-user-gpu: Fix compiler warning when compiling with -Wshadow 2023-10-12 16:37:16 +02:00
vhost-user-input Fix build with 64 bits time_t 2021-05-14 10:26:18 -04:00
vhost-user-scsi vhost-user-scsi: avoid unlink(NULL) with fd passing 2022-05-16 16:48:35 -04:00