We can't use unique_ptr's here because we use those variables as out parameters to some functions. Discovered by the memory sanitizer.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D42386
Fix memory leak in TestClangASTContext.TestRecordHasFields ClosedPublic Authored by teemperor on Jan 22 2018, 10:56 AM.
Details 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.
Diff Detail Event TimelineThis revision was not accepted when it landed; it landed in state Needs Review.Jan 22 2018, 10:58 AM Closed by commit rL323138: Fix memory leak in TestClangASTContext.TestRecordHasFields (authored by teemperor). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 130926 unittests/Symbol/TestClangASTContext.cpp
|