diff options
author | mikeh <mikeh@FreeBSD.org> | 2001-06-20 01:56:09 +0000 |
---|---|---|
committer | mikeh <mikeh@FreeBSD.org> | 2001-06-20 01:56:09 +0000 |
commit | d795e6a8262b77835dd02cd6ec7b51c70efb6c50 (patch) | |
tree | 9c1c40401d1c1926efbb62079fbed3ce55e505eb /sbin | |
parent | 8a3438e4932ef13ca11728389d9d9699dfe542ab (diff) | |
download | FreeBSD-src-d795e6a8262b77835dd02cd6ec7b51c70efb6c50.zip FreeBSD-src-d795e6a8262b77835dd02cd6ec7b51c70efb6c50.tar.gz |
Fix typo which could lead to memory leak.
PR: misc/28283
MFC after: 2 weeks
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/init/init.c | 2 |
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); |