From e219f0c786e8982c81d089b2945891632028b6ef Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Fri, 25 Oct 2019 13:03:12 -0400 Subject: [PATCH] fix regression in `zig run` changes in 1dcf540426103e762925f3365898d65b1724fdf1 added a "double free" of the progress node, causing a segfault for `zig run` when there is a terminal attached. fixed. --- src/main.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 2fa2ba4101..5739f68df4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1294,7 +1294,6 @@ int main(int argc, char **argv) { zig_print_stack_report(g, stdout); if (cmd == CmdRun) { - stage2_progress_end(root_progress_node); #ifdef ZIG_ENABLE_MEM_PROFILE memprof_dump_stats(stderr); #endif