diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-01-09 14:43:33 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-01-09 14:43:33 +0000 |
commit | 1a20a032ccbb5800bfdfc75accfcff2ac67f5bcb (patch) | |
tree | e9c97c3b5f7ed0c24e49aea9a1f33eab000dd82d /qemu-doc.texi | |
parent | d66bddd7a4535cca3fc9e98c3195a7411779693c (diff) | |
download | qemu-1a20a032ccbb5800bfdfc75accfcff2ac67f5bcb.zip qemu-1a20a032ccbb5800bfdfc75accfcff2ac67f5bcb.tar.gz qemu-1a20a032ccbb5800bfdfc75accfcff2ac67f5bcb.tar.bz2 |
usb-bsd: fix a file descriptor leak
Fix a file descriptor leak reported by cppcheck:
[/src/qemu/usb-bsd.c:392]: (error) Resource leak: bfd
[/src/qemu/usb-bsd.c:388]: (error) Resource leak: dfd
Rearrange the code to avoid descriptor leaks. Also add braces as
needed.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu-doc.texi')
0 files changed, 0 insertions, 0 deletions