2009-12-18 04:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.c
! fixed yet another one memory leak
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-12-18 04:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/src/rtl/gtxwc/gtxwc.c
|
||||
! fixed yet another one memory leak
|
||||
|
||||
2009-12-18 03:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/src/rtl/gtxwc/gtxwc.c
|
||||
! fixed memory leak caused by unreleased text property value
|
||||
|
||||
@@ -2113,6 +2113,9 @@ static void hb_gt_xwc_WndProc( PXWND_DEF wnd, XEvent *evt )
|
||||
#ifdef XWC_DEBUG
|
||||
printf( "UTF8String='%s'\r\n", text.value ); fflush(stdout);
|
||||
#endif
|
||||
if( wnd->ClipboardData != NULL )
|
||||
hb_xfree( wnd->ClipboardData );
|
||||
|
||||
wnd->ClipboardSize = text.nitems;
|
||||
wnd->ClipboardData = ( unsigned char * )
|
||||
hb_cdpnDup( ( const char * ) text.value, &wnd->ClipboardSize,
|
||||
|
||||
Reference in New Issue
Block a user