UniquePtr is more standard than ScopedFreePtr; using standard constructs whenever possible is preferable. In this particular case, since we really just need a chunk of memory, we can allocate a char[] via MakeUnique.