raw pointers replaced by allocator pointer

svn path=/sandbox-branches/; revision=82849