Revert "Correctly pass ownership of MemoryBuffers."