2025-12-05 22:52 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* src/rtl/gttrm/gttrm.c
    ! fixed memory leak
This commit is contained in:
Przemysław Czerpak
2025-12-05 22:52:43 +01:00
parent aa54fe630f
commit bbbb0bf201
2 changed files with 6 additions and 0 deletions

View File

@@ -3486,6 +3486,8 @@ static void hb_gt_trm_Exit( PHB_GT pGT )
if( pTerm->fRestTTY )
tcsetattr( pTerm->hFilenoStdin, TCSANOW, &pTerm->saved_TIO );
#endif
if( pTerm->szTitle )
hb_xfree( pTerm->szTitle );
if( pTerm->nLineBufSize > 0 )
hb_xfree( pTerm->pLineBuf );
if( pTerm->iOutBufSize > 0 )