--- a/installationservices/swi/source/swis/server/sidcache.cpp Tue Aug 31 15:21:33 2010 +0300
+++ b/installationservices/swi/source/swis/server/sidcache.cpp Wed Sep 01 12:22:02 2010 +0100
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
@@ -22,7 +22,6 @@
#include <s32file.h>
#include <e32uid.h>
#include <f32file.h>
-#include <e32ldr_private.h>
#include "securityinfo.h"
namespace Swi
@@ -171,7 +170,7 @@
{
// Count() will increase if a subdirectory is encountered so don't 'optimise'
// the loop invariant !
-
+ CleanupResetAndDestroyPushL(aSearchDirs);
for (TInt i = 0; i < aSearchDirs.Count(); ++i)
{
CDir* entries(0);
@@ -198,6 +197,7 @@
}
CleanupStack::PopAndDestroy(subDirs);
}
+ CleanupStack::Pop(&aSearchDirs);
}
void CSidCache::ScanFileSystemL(RFs& aFs)