Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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> (cherry picked from commit 7737458) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
- Loading branch information