aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--colorize.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/colorize.c b/colorize.c
index c0baf60..a6bd56d 100644
--- a/colorize.c
+++ b/colorize.c
@@ -795,8 +795,8 @@ merge_print_line (bool bold, const struct color **colors, const char *line, cons
#ifdef TEST_MERGE_PART_LINE
printf ("%s", part_line);
- free (merged_part_line);
- exit (EXIT_SUCCESS);
+ fflush (stdout);
+ _exit (EXIT_SUCCESS);
#else
print_line (bold, colors, part_line, 0);
free (merged_part_line);