Fix typo which could lead to memory leak.
PR: misc/28283 MFC after: 2 weeks
This commit is contained in:
parent
66cbe52bfa
commit
2d887af57e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78484
@ -1418,7 +1418,7 @@ clean_ttys()
|
|||||||
}
|
}
|
||||||
if (old_getty)
|
if (old_getty)
|
||||||
free(old_getty);
|
free(old_getty);
|
||||||
if (old_getty)
|
if (old_window)
|
||||||
free(old_window);
|
free(old_window);
|
||||||
if (old_type)
|
if (old_type)
|
||||||
free(old_type);
|
free(old_type);
|
||||||
|
Loading…
Reference in New Issue
Block a user