qemu/qga
Michael Roth b1b9ab1c04 qga: fix missing closedir() in qmp_guest_get_disks()
We opendir("/sys/block") at the beginning of the function, but we never
close it prior to returning.

Fixes: Coverity CID 1436130
Fixes: fed3956429 ("qga: add implementation of guest-get-disks for Linux")
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Cc: Tomáš Golembiovský <tgolembi@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
2020-11-09 14:07:14 -06:00
..
installer
vss-win32
channel-posix.c util: rename qemu_open() to qemu_open_old() 2020-09-16 10:33:48 +01:00
channel-win32.c
channel.h
commands-common.h
commands-posix-ssh.c qga: add ssh-get-authorized-keys 2020-11-02 20:04:13 -06:00
commands-posix.c qga: fix missing closedir() in qmp_guest_get_disks() 2020-11-09 14:07:14 -06:00
commands-win32.c qga: add implementation of guest-get-disks for Windows 2020-11-02 11:36:16 -06:00
commands.c qemu/atomic.h: rename atomic_ to qatomic_ 2020-09-23 16:07:44 +01:00
guest-agent-command-state.c
guest-agent-core.h
main.c qmp: Call monitor_set_cur() only in qmp_dispatch() 2020-10-09 07:08:19 +02:00
meson.build qga: add ssh-get-authorized-keys 2020-11-02 20:04:13 -06:00
qapi-schema.json qga: add ssh-get-authorized-keys 2020-11-02 20:04:13 -06:00
service-win32.c
service-win32.h
vss-win32.c
vss-win32.h