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)
commitf0ff243a16362b82e4dae7bd991d13ba25bb5b2f
treee1b78355ad23c93dccfb707ea2e42e08e9e005d4
parent1afec9138f848cfba517bd2d80167b27216b9df9
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