diff options
| author | Cong Liu <liucong2@kylinos.cn> | 2023-10-29 14:50:33 +0000 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2023-10-31 14:10:21 +0000 |
| commit | 7f4527626910f21c9e4421236ee7a6383eb3ce2b (patch) | |
| tree | 7620ed78e440f91847d7d671ff857f011dfc2b9e /hw/intc | |
| parent | 946bf79e40a6296a46fa7cc4d8c06313ac012a95 (diff) | |
| download | focaccia-qemu-7f4527626910f21c9e4421236ee7a6383eb3ce2b.tar.gz focaccia-qemu-7f4527626910f21c9e4421236ee7a6383eb3ce2b.zip | |
contrib/plugins: Close file descriptor on error return
This patch closes the file descriptor fd on error return to avoid
resource leak.
Fixes: ec7ee95db909 ("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>
Diffstat (limited to 'hw/intc')
0 files changed, 0 insertions, 0 deletions