diff options
author | zhanghailiang <zhang.zhanghailiang@huawei.com> | 2015-09-14 18:40:10 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-10-22 14:34:50 +0300 |
commit | e3fce97cf500c61f23df8e0245e08625fc375295 (patch) | |
tree | 8d7c73804c14ff01d21a12730e7a27bb8b286096 /hw/virtio/vhost.c | |
parent | f8d82b8eb81d3ea29325b4046fafa8ed41e32449 (diff) | |
download | qemu-e3fce97cf500c61f23df8e0245e08625fc375295.tar.gz qemu-e3fce97cf500c61f23df8e0245e08625fc375295.tar.bz2 qemu-e3fce97cf500c61f23df8e0245e08625fc375295.zip |
piix: fix resource leak reported by Coverity
config_fd should be closed before return, or there will
be a resource leak error.
Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/virtio/vhost.c')
0 files changed, 0 insertions, 0 deletions