On 1 March 2010 09:39, Christian Costa <titan.co...@wanadoo.fr> wrote: > + object->ctab = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size); ... > + object->size = size; > + memcpy(object->ctab, data, object->size); The HEAP_ZERO_MEMORY flag is pretty useless here.