diff options
author | 2014-11-14 09:39:23 +0800 | |
---|---|---|
committer | 2014-11-14 12:16:24 +0100 | |
commit | 77374582ab961af2c5e702f767f52179d5f7676c (patch) | |
tree | c794bb5f0d62a00ddcc3a74ab40276698b34e0d2 /util/qemu-progress.c | |
parent | libcacard: fix resource leak (diff) | |
download | qemu-77374582ab961af2c5e702f767f52179d5f7676c.tar.xz qemu-77374582ab961af2c5e702f767f52179d5f7676c.zip |
l2tpv3: fix possible double free
freeaddrinfo(result) does not assign result = NULL, after frees it.
There will be a double free when it goes error case.
It is reported by covertiy.
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/qemu-progress.c')
0 files changed, 0 insertions, 0 deletions