Fix typo which could lead to memory leak.

PR:		misc/28283
MFC after:	2 weeks
This commit is contained in:
mikeh 2001-06-20 01:56:09 +00:00
parent 8a3438e493
commit d795e6a826

View File

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