2014-01-09 02:01 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/vm/itemapi.c
! clear destination item in hb_itemParamStore*() functions if passed
source item is NULL
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
|
||||
*/
|
||||
|
||||
2014-01-09 02:01 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* src/vm/itemapi.c
|
||||
! clear destination item in hb_itemParamStore*() functions if passed
|
||||
source item is NULL
|
||||
|
||||
2014-01-07 13:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* contrib/hbfoxpro/hbfoxpro.hbp
|
||||
* contrib/hbfoxpro/misc.prg
|
||||
|
||||
@@ -130,7 +130,7 @@ HB_BOOL hb_itemParamStore( HB_USHORT uiParam, PHB_ITEM pItem )
|
||||
if( pItem )
|
||||
hb_itemCopyToRef( pDest, pItem );
|
||||
else
|
||||
hb_itemSetNil( pDest );
|
||||
hb_itemSetNil( hb_itemUnRef( pDest ) );
|
||||
return HB_TRUE;
|
||||
}
|
||||
|
||||
@@ -149,7 +149,7 @@ HB_BOOL hb_itemParamStoreForward( HB_USHORT uiParam, PHB_ITEM pItem )
|
||||
if( pItem )
|
||||
hb_itemMoveToRef( pDest, pItem );
|
||||
else
|
||||
hb_itemSetNil( pDest );
|
||||
hb_itemSetNil( hb_itemUnRef( pDest ) );
|
||||
return HB_TRUE;
|
||||
}
|
||||
|
||||
@@ -171,7 +171,7 @@ HB_BOOL hb_itemParamStoreRelease( HB_USHORT uiParam, PHB_ITEM pItem )
|
||||
hb_itemRelease( pItem );
|
||||
}
|
||||
else
|
||||
hb_itemSetNil( pDest );
|
||||
hb_itemSetNil( hb_itemUnRef( pDest ) );
|
||||
return HB_TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user