summaryrefslogtreecommitdiffstats
path: root/linux-user/sparc/cpu_loop.c
diff options
context:
space:
mode:
authorMichael Roth2020-11-08 15:37:41 +0100
committerMichael Roth2020-11-09 21:07:14 +0100
commitb1b9ab1c04d560f86d8da3dfca4d8b21de75fee6 (patch)
tree32a2f6e92a5d3e0019523cd9f073b2f2ac90e522 /linux-user/sparc/cpu_loop.c
parentMerge remote-tracking branch 'remotes/cohuck/tags/s390x-20201106' into staging (diff)
downloadqemu-b1b9ab1c04d560f86d8da3dfca4d8b21de75fee6.tar.gz
qemu-b1b9ab1c04d560f86d8da3dfca4d8b21de75fee6.tar.xz
qemu-b1b9ab1c04d560f86d8da3dfca4d8b21de75fee6.zip
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: fed3956429d5 ("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>
Diffstat (limited to 'linux-user/sparc/cpu_loop.c')
0 files changed, 0 insertions, 0 deletions