diff options
| author | Gonglei | 2015-03-11 09:21:01 +0100 |
|---|---|---|
| committer | Gerd Hoffmann | 2015-03-12 08:22:12 +0100 |
| commit | b3c33f91732ea32e7a8391c5e61c3fc02308d822 (patch) | |
| tree | 233dff1c089c8b26294a3385d4911f5bcd494aa9 /scripts/checkpatch.pl | |
| parent | ui/console: fix OVERFLOW_BEFORE_WIDEN (diff) | |
| download | qemu-b3c33f91732ea32e7a8391c5e61c3fc02308d822.tar.gz qemu-b3c33f91732ea32e7a8391c5e61c3fc02308d822.tar.xz qemu-b3c33f91732ea32e7a8391c5e61c3fc02308d822.zip | |
vnc: avoid possible file handler leak
vs->lsock may equal to 0, modify the check condition,
avoid possible vs->lsock leak.
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
