changeset 52 | bf6a71c50e42 |
parent 0 | e4d67989cc36 |
child 57 | 2efc27d87e1c |
--- 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<RFs> managedFs; - managedFs->Connect(); + r = managedFs->Connect(); + if (r != KErrNone) + { + User::Leave(r); + } //default cleanup strategy is to call RFs::Close() on scope exit }