summaryrefslogtreecommitdiffstats
path: root/libcacard/cac.h
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-07-04 18:10:43 +0200
committerAlon Levy <alevy@redhat.com>2011-07-22 18:05:36 +0300
commitee83d41466ab393d82d9abf57b9ec24d4e6633be (patch)
treecac8e4e6e900036f9d9d40e070d59cd5844b14b2 /libcacard/cac.h
parent010debef6111c6776cda7ad8d00737f2d1dbb164 (diff)
downloadhqemu-ee83d41466ab393d82d9abf57b9ec24d4e6633be.zip
hqemu-ee83d41466ab393d82d9abf57b9ec24d4e6633be.tar.gz
libcacard: don't leak vcard_emul_alloc_arrays mem
vcard_emul_mirror_card and vcard_emul_init use vcard_emul_alloc_arrays to allocate memory for temporary arrays which will contain elements that in the end will be used one by one in cac_card_init. The arrays themselves are never stored anywhere, they are only used as temporary containers. Hence the memory that was allocated for these arrays should be freed after use or they will be leaked.
Diffstat (limited to 'libcacard/cac.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud