diff options
author | zhanghailiang <zhang.zhanghailiang@huawei.com> | 2014-11-14 10:18:08 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-11-14 12:15:40 +0100 |
commit | 5bbebf622897a59db5da4c468e737bfec4d71280 (patch) | |
tree | 0743c0f2b1e7f71c9bae829cfcd4c7d1de49e195 /roms/SLOF | |
parent | c52e67924fbdadfa00668248f5c075542943c54c (diff) |
libcacard: fix resource leak
In function connect_to_qemu(), getaddrinfo() will allocate memory
that is stored into server, it should be freed by using freeaddrinfo()
before connect_to_qemu() return.
Cc: qemu-stable@nongnu.org
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'roms/SLOF')
0 files changed, 0 insertions, 0 deletions