summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/build_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build_test.cc b/src/build_test.cc
index 8b6dca2..f6e1215 100644
--- a/src/build_test.cc
+++ b/src/build_test.cc
@@ -1229,6 +1229,7 @@ void TestPhonyUseCase(BuildTest* t, int i) {
));
// Set up test.
+ builder_.command_runner_.release(); // BuildTest owns the CommandRunner
builder_.command_runner_.reset(&command_runner_);
fs_.Create("blank", ""); // a "real" file