diff -r 646a02f170b9 -r 3cebc1a84278 harvester/monitorplugins/fileplugin/src/fileeventhandlerao.cpp --- a/harvester/monitorplugins/fileplugin/src/fileeventhandlerao.cpp Fri Mar 12 15:44:28 2010 +0200 +++ b/harvester/monitorplugins/fileplugin/src/fileeventhandlerao.cpp Mon Mar 15 12:42:24 2010 +0200 @@ -110,6 +110,9 @@ delete iEventArray; iQueue.ResetAndDestroy(); + iQueue.Close(); + + iUriArray.ResetAndDestroy(); iUriArray.Close(); } @@ -837,7 +840,7 @@ void CFileEventHandlerAO::AddToQueueL( TMdsFSPStatus& aEvent ) { CMdsFSPQueueItem* item = CMdsFSPQueueItem::NewL(aEvent); - iQueue.Append(item); + iQueue.AppendL(item); if( iNextRequest == ERequestIdle && !iCacheEvents ) { SetNextRequest( ERequestProcessing );