diff -r b73a2e62868f -r 6752808b2036 harvester/common/inc/harvestdata.inl --- a/harvester/common/inc/harvestdata.inl Tue Feb 02 00:24:33 2010 +0200 +++ b/harvester/common/inc/harvestdata.inl Fri Feb 19 23:14:48 2010 +0200 @@ -101,6 +101,21 @@ iMdeObjectArray.Remove( aIndex ); iLocationArray.Remove( aIndex ); iQueryArray.Remove( aIndex ); + + if( iMdeObjectArray.Count() == 0 ) + { + iMdeObjectArray.Compress(); + } + + if( iLocationArray.Count() == 0 ) + { + iLocationArray.Compress(); + } + + if( iQueryArray.Count() == 0 ) + { + iQueryArray.Compress(); + } } // ---------------------------------------------------------------------------