diff -r 4332f0f7be53 -r acd3cd4aaceb lowlevellibsandfws/genericusabilitylib/example/src/euserhl_walkthrough.cpp --- 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 managedFs; - managedFs->Connect(); + r = managedFs->Connect(); + if (r != KErrNone) + { + User::Leave(r); + } //default cleanup strategy is to call RFs::Close() on scope exit }