equal
deleted
inserted
replaced
149 aIndex, |
149 aIndex, |
150 existingHandle ); |
150 existingHandle ); |
151 if ( existingHandle ) |
151 if ( existingHandle ) |
152 { |
152 { |
153 CleanupStack::PopAndDestroy( cmWrapper ); |
153 CleanupStack::PopAndDestroy( cmWrapper ); |
154 cmWrapper = iCmDestinationWrapper->GetMainSession()->GetConnMethodWrapperL( existingHandle ); |
154 cmWrapper = iCmDestinationWrapper->GetMainSession()->GetConnMethodWrapperL( |
|
155 existingHandle ); |
155 cmWrapper->IncreaseReferenceCounter(); |
156 cmWrapper->IncreaseReferenceCounter(); |
156 } |
157 } |
157 else |
158 else |
158 { |
159 { |
159 CleanupStack::Pop( cmWrapper ); |
160 CleanupStack::Pop( cmWrapper ); |
189 aConnMethodId, |
190 aConnMethodId, |
190 existingHandle ); |
191 existingHandle ); |
191 if ( existingHandle ) |
192 if ( existingHandle ) |
192 { |
193 { |
193 CleanupStack::PopAndDestroy( cmWrapper ); |
194 CleanupStack::PopAndDestroy( cmWrapper ); |
194 cmWrapper = iCmDestinationWrapper->GetMainSession()->GetConnMethodWrapperL( existingHandle ); |
195 cmWrapper = iCmDestinationWrapper->GetMainSession()->GetConnMethodWrapperL( |
|
196 existingHandle ); |
195 cmWrapper->IncreaseReferenceCounter(); |
197 cmWrapper->IncreaseReferenceCounter(); |
196 } |
198 } |
197 else |
199 else |
198 { |
200 { |
199 CleanupStack::Pop( cmWrapper ); |
201 CleanupStack::Pop( cmWrapper ); |