Re: [Qemu-devel] [PATCH] libcacard: don't leak vcard_emul_alloc_arrays mem

2011-07-22 Thread Christophe Fergeau
Ping? On Mon, Jul 04, 2011 at 06:10:43PM +0200, Christophe Fergeau wrote: 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

Re: [Qemu-devel] [PATCH] libcacard: don't leak vcard_emul_alloc_arrays mem

2011-07-22 Thread Alon Levy
On Fri, Jul 22, 2011 at 01:30:49PM +0200, Christophe Fergeau wrote: Ping? I'll pick it up in my pull request. On Mon, Jul 04, 2011 at 06:10:43PM +0200, Christophe Fergeau wrote: vcard_emul_mirror_card and vcard_emul_init use vcard_emul_alloc_arrays to allocate memory for temporary arrays

[Qemu-devel] [PATCH] libcacard: don't leak vcard_emul_alloc_arrays mem

2011-07-04 Thread Christophe Fergeau
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