diff --git a/harbour/contrib/hbwhat32/_winsys.c b/harbour/contrib/hbwhat32/_winsys.c index 7ce217e651..5ba21b2867 100644 --- a/harbour/contrib/hbwhat32/_winsys.c +++ b/harbour/contrib/hbwhat32/_winsys.c @@ -199,14 +199,14 @@ HB_FUNC( SYSTEMPARAMETERSINFO ) if( ISBYREF( 3 ) ) { if( ! hb_storclen_buffer( cText, hb_itemGetCLen( pBuffer ), 3 ) ) - hb_xfree( xText ); + hb_xfree( cText ); hb_retl( TRUE ); return; } } - hb_xfree( xText ); + hb_xfree( cText ); } hb_retl( FALSE );