vpc: fix a file descriptor leak
authorBlue Swirl <blauwirbel@gmail.com>
Wed, 12 Jan 2011 19:49:00 +0000 (19:49 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Wed, 12 Jan 2011 19:49:00 +0000 (19:49 +0000)
commit8ee0c343091258bd62dd488b89cc10d3e1585b93
treee1b78355ad23c93dccfb707ea2e42e08e9e005d4
parent79422cd537bbbb8f23fa6a7541e69c81106520b5
vpc: fix a file descriptor leak

Fix a file descriptor leak, reported by cppcheck:
[/src/qemu/block/vpc.c:524]: (error) Resource leak: fd

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
block/vpc.c