2008-05-25 17:45 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)

* harbour/contrib/gtwvg/gtwvg.c
    ! Fixed two resource leaks.
This commit is contained in:
Pritpal Bedi
2008-05-26 00:43:22 +00:00
parent e324ff7f7e
commit eb0ccbea59
2 changed files with 12 additions and 1 deletions

View File

@@ -8,6 +8,10 @@
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2008-05-25 17:45 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
! Fixed two resource leaks.
2008-05-25 14:57 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbclipsm/date.c
! Fixed internal error in MDY(), DMY(). Thanks Petr.

View File

@@ -1509,7 +1509,14 @@ static void hb_wvt_gtExitGui( void )
ReleaseDC( _s.hWnd, _s.hdc );
_s.hdc = NULL;
}
if( _s.hFont )
{
DeleteObject( _s.hFont );
}
if( _s.hWndTT )
{
DestroyWindow( _s.hWndTT );
}
if( _s.hCompDC )
{
DeleteDC( _s.hCompDC );