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.
This commit is contained in:
Andrew Kelley 2019-10-25 13:03:12 -04:00
parent 952aa7a9c1
commit e219f0c786
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -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