--- a/contentmgmt/referencedrmagent/tcaf/source/CleanupStep.cpp Wed Oct 06 11:09:48 2010 +0530
+++ b/contentmgmt/referencedrmagent/tcaf/source/CleanupStep.cpp Sat Oct 30 16:29:23 2010 +0530
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2006-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"
@@ -67,6 +67,8 @@
RFs fs;
fs.Connect();
+
+ CleanupClosePushL(fs);
CFileMan* fileMan = CFileMan::NewL(fs);
CleanupStack::PushL(fileMan);
@@ -95,7 +97,7 @@
SetTestStepResult(EFail);
CleanupStack::PopAndDestroy(fileMan);
- fs.Close();
+ CleanupStack::PopAndDestroy(&fs);
__UHEAP_MARKEND;
return TestStepResult();