aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/sh/output.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/bin/sh/output.c b/bin/sh/output.c
index c3458272785e..ced01d246a1c 100644
--- a/bin/sh/output.c
+++ b/bin/sh/output.c
@@ -254,14 +254,7 @@ flushout(struct output *dest)
void
freestdout(void)
{
- INTOFF;
- if (output.buf) {
- ckfree(output.buf);
- output.nextc = NULL;
- output.buf = NULL;
- output.bufend = NULL;
- }
- INTON;
+ output.nextc = output.buf;
}