diff -r 5fae379060a7 -r bf6a71c50e42 lowlevellibsandfws/genericusabilitylib/example/src/euserhl_walkthrough.cpp --- a/lowlevellibsandfws/genericusabilitylib/example/src/euserhl_walkthrough.cpp Fri Jun 11 15:26:22 2010 +0300 +++ b/lowlevellibsandfws/genericusabilitylib/example/src/euserhl_walkthrough.cpp Wed Aug 18 11:27:44 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 }