mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-28 22:15:49 -04:00
fix another leak
This commit is contained in:
@@ -148,6 +148,8 @@ void DebugMonitor::install(void)
|
||||
if (tcsetattr(inputFd, TCSAFLUSH, &terminalAttributes) != 0)
|
||||
{
|
||||
DEBUG_WARNING(true, ("DebugMonitor: tcsetattr failed [%s].", strerror(errno)));
|
||||
fclose(s_ttyOutputFile);
|
||||
fclose(s_ttyInputFile);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user