diff options
| author | Gonglei <arei.gonglei@huawei.com> | 2014-11-15 18:06:40 +0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-11-17 11:40:36 +0100 |
| commit | d4754a953196516b16beef707dcdfdb35c2eec6e (patch) | |
| tree | 705910aa59e3ef3a806cd5cd11472e2f09cf51bb /hw/core/loader.c | |
| parent | 77374582ab961af2c5e702f767f52179d5f7676c (diff) | |
| download | focaccia-qemu-d4754a953196516b16beef707dcdfdb35c2eec6e.tar.gz focaccia-qemu-d4754a953196516b16beef707dcdfdb35c2eec6e.zip | |
l2tpv3: fix fd leak
In this false branch, fd will leak when it is zero. Change the testing condition. Signed-off-by: Gonglei <arei.gonglei@huawei.com> [Fix net_l2tpv3_cleanup as well. - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/core/loader.c')
0 files changed, 0 insertions, 0 deletions