Make allocations use unique_ptr.

Change-Id: I4b84b8106faeaeb61847f8f9d13fd6444f474efd
1 file changed