qemu-e2k/libcacard
zhanghailiang 5bbebf6228 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>
2014-11-14 12:15:40 +01:00
..
Makefile libcacard: actually use symbols file 2014-06-10 07:44:01 +02:00
cac.c libcacard: don't free sign buffer while sign op is pending 2014-10-28 11:38:18 +01:00
cac.h
card_7816.c libcacard: Drop superfluous conditionals around g_free() 2014-06-10 19:39:34 +04:00
card_7816.h
card_7816t.h misc: Fix some typos in names and comments 2013-09-01 18:59:24 +04:00
event.c libcacard: replace qemu thread primitives with glib ones 2014-06-10 07:44:01 +02:00
eventt.h
libcacard.pc.in
libcacard.syms
link_test.c
vcard.c libcacard: Lock NSS cert db when selecting an applet on an emulated card 2014-10-28 11:38:18 +01:00
vcard.h
vcard_emul.h libcacard: introduce new vcard_emul_logout 2014-10-28 11:38:18 +01:00
vcard_emul_nss.c libcacard: introduce new vcard_emul_logout 2014-10-28 11:38:18 +01:00
vcard_emul_type.c
vcard_emul_type.h
vcardt.c
vcardt.h
vcardt_internal.h
vevent.h
vreader.c Merge remote-tracking branch 'remotes/bonzini/configure' into staging 2014-06-11 15:36:48 +01:00
vreader.h
vreadert.h
vscard_common.h
vscclient.c libcacard: fix resource leak 2014-11-14 12:15:40 +01:00