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-os-win32.h | |
parent | d66bddd7a4535cca3fc9e98c3195a7411779693c (diff) |
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-os-win32.h')
0 files changed, 0 insertions, 0 deletions