Frees memory allocated with p6AllocMemory().
After p6FreeMemory() is called, the pointer pMemory points to invalid memory and MUST no be used.