summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/init/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/init/init.c b/sbin/init/init.c
index 67a2eac..49aa374 100644
--- a/sbin/init/init.c
+++ b/sbin/init/init.c
@@ -1418,7 +1418,7 @@ clean_ttys()
}
if (old_getty)
free(old_getty);
- if (old_getty)
+ if (old_window)
free(old_window);
if (old_type)
free(old_type);
OpenPOWER on IntegriCloud