Fix typo which could lead to memory leak.
PR: misc/28283 MFC after: 2 weeks
This commit is contained in:
parent
8a3438e493
commit
d795e6a826
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user