Explicitly pass ownership of the MemoryBuffer to AddNewSourceBuffer using std::unique_ptr