equal
deleted
inserted
replaced
66 REComSession::FinalClose(); |
66 REComSession::FinalClose(); |
67 if(terr) |
67 if(terr) |
68 { |
68 { |
69 User::Leave(terr); |
69 User::Leave(terr); |
70 } |
70 } |
71 if(infoArray.Count() != 1) |
71 if(infoArray.Count() > 1 || (0 == infoArray.Count())) |
72 { |
72 { |
73 User::Leave(KErrBadName); |
73 User::Leave(KErrBadName); |
74 } |
74 } |
75 TUid retUid = infoArray[0]->ImplementationUid(); |
75 TUid retUid = infoArray[0]->ImplementationUid(); |
76 CleanupStack::PopAndDestroy(); //cleanup |
76 CleanupStack::PopAndDestroy(); //cleanup |