Used char* instead of UniquePtr because UniquePtr would call delete instead of delete[]
Used char* instead of UniquePtr because UniquePtr would call delete instead of delete[]

realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core