Skip to content
Snippets Groups Projects
Commit e3fce97c authored by Hailiang Zhang's avatar Hailiang Zhang Committed by Michael S. Tsirkin
Browse files

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: default avatarzhanghailiang <zhang.zhanghailiang@huawei.com>
Reviewed-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
parent f8d82b8e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment