DtTerm: Coverity (memory corruption)
This commit is contained in:
parent
fa0074904b
commit
b0548ce111
|
|
@ -510,8 +510,9 @@ ForceCloseLog(DtTermPrimitiveWidget tw)
|
|||
|
||||
if (tw->term.log_on)
|
||||
{
|
||||
(void) fclose(tpd->logStream);
|
||||
(void) DeleteLogFileEntry(tpd->logStream);
|
||||
(void) fclose(tpd->logStream);
|
||||
tpd->logStream = NULL;
|
||||
tw->term.log_on = False;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue