Puedes ver la documentación de esta función en la Win32.hlp.
Cita:
|
The VirtualAlloc function reserves or commits a region of pages in the virtual address space of the calling process. Memory allocated by this function is automatically initialized to zero.
|
Seguramente lo que te advierte el MemProof es que se reservaron páginas de memoria pero no se liberaron explícitamente (VirtualFree).
Saludos!