mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Fix typo which could lead to memory leak.
PR: misc/28283 MFC after: 2 weeks
This commit is contained in:
parent
66cbe52bfa
commit
2d887af57e
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue