summaryrefslogtreecommitdiffstats
path: root/hw/net/vhost_net.c
diff options
context:
space:
mode:
authorzhanghailiang2015-09-14 12:40:10 +0200
committerMichael S. Tsirkin2015-10-22 13:34:50 +0200
commite3fce97cf500c61f23df8e0245e08625fc375295 (patch)
tree8d7c73804c14ff01d21a12730e7a27bb8b286096 /hw/net/vhost_net.c
parentseccomp: add memfd_create to whitelist (diff)
downloadqemu-e3fce97cf500c61f23df8e0245e08625fc375295.tar.gz
qemu-e3fce97cf500c61f23df8e0245e08625fc375295.tar.xz
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/net/vhost_net.c')
0 files changed, 0 insertions, 0 deletions