qemu-e2k/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
ivshmem-client
ivshmem-server
plugins contrib/plugins: Close file descriptor on error return 2023-10-31 14:10:21 +00:00
rdmacm-mux
systemd
vhost-user-blk
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
vhost-user-scsi