Removed unnecessary call to GetMemory()