--- a/harvester/common/inc/harvestdata.inl Mon Mar 08 21:43:59 2010 +0000
+++ b/harvester/common/inc/harvestdata.inl Sun Mar 14 12:49:29 2010 +0000
@@ -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();
+ }
}
// ---------------------------------------------------------------------------