Fix memory leak in TestClangASTContext.TestRecordHasFields
Fix memory leak in TestClangASTContext.TestRecordHasFields

Summary: We can't use unique_ptr's here because we use those variables as `out` parameters to some functions. Discovered by the memory sanitizer.

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D42386

git-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@323138 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 7b502c5ee8e8b040edf92b1a43210e4c3be48549)

apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb