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

@@ -7,6 +7,10 @@
Entries may not always be in chronological/commit order. Entries may not always be in chronological/commit order.
See license at the end of file. */ See license at the end of file. */
2025-12-05 22:52 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gttrm/gttrm.c
! fixed memory leak
2025-12-04 16:39 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) 2025-12-04 16:39 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/cdpapi.c * src/rtl/cdpapi.c
! fixed hb_cdpUTF8StringPeek() to work with 0 based indexes and ! fixed hb_cdpUTF8StringPeek() to work with 0 based indexes and

View File

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