diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 246c3affbe..885247de7d 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,12 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ +2007-12-13 18:05 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) + * harbour/contrib/hbrddads/adsmgmnt.c + ! Fixed memory leak in HB_FUNC( ADSMGGETLOCKOWNER ) + if ( pstUserInfo ) + hb_xfree( pstUserInfo ); + 2007-12-12 22:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gt_tpl/gt_tpl.c * harbour/source/rtl/gtdos/gtdos.c diff --git a/harbour/contrib/hbrddads/adsmgmnt.c b/harbour/contrib/hbrddads/adsmgmnt.c index 7b92396cba..eb20cebea7 100644 --- a/harbour/contrib/hbrddads/adsmgmnt.c +++ b/harbour/contrib/hbrddads/adsmgmnt.c @@ -486,6 +486,8 @@ HB_FUNC( ADSMGGETLOCKOWNER ) { hb_retnl( ulRetVal ); } + if ( pstUserInfo ) + hb_xfree( pstUserInfo ); } HB_FUNC( ADSMGGETSERVERTYPE ) /* Determine OS ADS is running on; see ADS_MGMT_* constants */