lowlevellibsandfws/genericusabilitylib/example/src/euserhl_walkthrough.cpp
branchRCL_3
changeset 56 acd3cd4aaceb
parent 0 e4d67989cc36
child 57 2efc27d87e1c
--- a/lowlevellibsandfws/genericusabilitylib/example/src/euserhl_walkthrough.cpp	Thu Aug 19 11:33:45 2010 +0300
+++ b/lowlevellibsandfws/genericusabilitylib/example/src/euserhl_walkthrough.cpp	Tue Aug 31 16:54:36 2010 +0300
@@ -1217,8 +1217,13 @@
 		}
 		
 		{
+		TInt r =KErrNone;	
 		LCleanedupHandle<RFs> managedFs;
-		managedFs->Connect();
+		r = managedFs->Connect();
+		if (r != KErrNone)
+		 {
+			User::Leave(r);
+		 }
 		//default cleanup strategy is to call RFs::Close() on scope exit
 		}