harvester/blacklistserver/src/blacklistserver.cpp
branchRCL_3
changeset 7 3cebc1a84278
parent 3 6752808b2036
child 9 82c0024438c8
equal deleted inserted replaced
6:646a02f170b9 7:3cebc1a84278
   182             }
   182             }
   183         }
   183         }
   184  
   184  
   185     iBlacklistMemoryTable.ResetAndDestroy();
   185     iBlacklistMemoryTable.ResetAndDestroy();
   186     iBlacklistMemoryTable.Close();
   186     iBlacklistMemoryTable.Close();
   187    	
   187 
   188    	
   188     for( TInt i = iBufferedRemoveItems.Count() - 1; i >=0; i-- )
   189     const TInt KRowCountRemovedItems = iBufferedRemoveItems.Count();
       
   190 
       
   191     for( TInt i = 0; i < KRowCountRemovedItems; i++ )
       
   192     	{
   189     	{
   193     	iBufferedRemoveItems[i]->Close();
   190     	iBufferedRemoveItems[i]->Close();
   194     	}
   191     	}
   195 
   192 
   196     iBufferedRemoveItems.ResetAndDestroy();
   193     iBufferedRemoveItems.ResetAndDestroy();
   197     iBufferedRemoveItems.Close();  	
   194     iBufferedRemoveItems.Close();  	
   198    	
   195 
   199     const TInt KRowCountAddedItems = iBufferedAddedItems.Count();
   196     for( TInt i = iBufferedAddedItems.Count() - 1; i >=0; i-- )
   200 
       
   201     for( TInt i = 0; i < KRowCountAddedItems; i++ )
       
   202     	{
   197     	{
   203     	iBufferedAddedItems[i]->Close();
   198     	iBufferedAddedItems[i]->Close();
   204     	}
   199     	}
   205 
   200 
   206    	iBufferedAddedItems.ResetAndDestroy();
   201    	iBufferedAddedItems.ResetAndDestroy();