We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fae58e commit 7f43120Copy full SHA for 7f43120
clang/unittests/Serialization/LoadSpecLazilyTest.cpp
@@ -82,6 +82,8 @@ class LoadSpecLazilyTest : public ::testing::Test {
82
Instance.setDiagnostics(Diags.get());
83
Instance.setInvocation(Invocation);
84
Instance.getFrontendOpts().OutputFile = CacheBMIPath;
85
+ // Avoid memory leaks.
86
+ Instance.getFrontendOpts().DisableFree = false;
87
GenerateModuleInterfaceAction Action;
88
EXPECT_TRUE(Instance.ExecuteAction(Action));
89
EXPECT_FALSE(Diags->hasErrorOccurred());
0 commit comments